<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/ethernet/amd/lance.c, branch linux-4.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.9.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.9.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2023-01-07T11:07:22Z</updated>
<entry>
<title>net: amd: lance: don't call dev_kfree_skb() under spin_lock_irqsave()</title>
<updated>2023-01-07T11:07:22Z</updated>
<author>
<name>Yang Yingliang</name>
</author>
<published>2022-12-08T14:21:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d90f63e5f52a1bc4e0a39235a0dbac69e0abe5e8'/>
<id>urn:sha1:d90f63e5f52a1bc4e0a39235a0dbac69e0abe5e8</id>
<content type='text'>
[ Upstream commit 6151d105dfce8c23edf30eed35e97f3d9b96a35c ]

It is not allowed to call kfree_skb() or consume_skb() from hardware
interrupt context or with hardware interrupts being disabled.

It should use dev_kfree_skb_irq() or dev_consume_skb_irq() instead.
The difference between them is free reason, dev_kfree_skb_irq() means
the SKB is dropped in error and dev_consume_skb_irq() means the SKB
is consumed in normal.

In these two cases, dev_kfree_skb() is called consume the xmited SKB,
so replace it with dev_consume_skb_irq().

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Yang Yingliang &lt;yangyingliang@huawei.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>treewide: replace dev-&gt;trans_start update with helper</title>
<updated>2016-05-04T18:16:49Z</updated>
<author>
<name>Florian Westphal</name>
</author>
<published>2016-05-03T14:33:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=860e9538a9482bb84589f7d0718a7e6d0a944d58'/>
<id>urn:sha1:860e9538a9482bb84589f7d0718a7e6d0a944d58</id>
<content type='text'>
Replace all trans_start updates with netif_trans_update helper.
change was done via spatch:

struct net_device *d;
@@
- d-&gt;trans_start = jiffies
+ netif_trans_update(d)

Compile tested only.

Cc: user-mode-linux-devel@lists.sourceforge.net
Cc: linux-xtensa@linux-xtensa.org
Cc: linux1394-devel@lists.sourceforge.net
Cc: linux-rdma@vger.kernel.org
Cc: netdev@vger.kernel.org
Cc: MPT-FusionLinux.pdl@broadcom.com
Cc: linux-scsi@vger.kernel.org
Cc: linux-can@vger.kernel.org
Cc: linux-parisc@vger.kernel.org
Cc: linux-omap@vger.kernel.org
Cc: linux-hams@vger.kernel.org
Cc: linux-usb@vger.kernel.org
Cc: linux-wireless@vger.kernel.org
Cc: linux-s390@vger.kernel.org
Cc: devel@driverdev.osuosl.org
Cc: b.a.t.m.a.n@lists.open-mesh.org
Cc: linux-bluetooth@vger.kernel.org
Signed-off-by: Florian Westphal &lt;fw@strlen.de&gt;
Acked-by: Felipe Balbi &lt;felipe.balbi@linux.intel.com&gt;
Acked-by: Mugunthan V N &lt;mugunthanvnm@ti.com&gt;
Acked-by: Antonio Quartulli &lt;a@unstable.cc&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>lance: Return correct error code</title>
<updated>2016-02-18T19:58:47Z</updated>
<author>
<name>Amitoj Kaur Chawla</name>
</author>
<published>2016-02-17T15:03:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a09f4af177d2a5b7dc424aba6ba808f4a674ce81'/>
<id>urn:sha1:a09f4af177d2a5b7dc424aba6ba808f4a674ce81</id>
<content type='text'>
Failure of kzalloc should cause the enclosing function
to return -ENOMEM, not -ENODEV.

Additionally, removed the following checkpatch warnings:
ERROR: spaces required around that '==' (ctx:VxV)
ERROR: space required before the open parenthesis '('
CHECK: Comparison to NULL could be written "!lp"

Signed-off-by: Amitoj Kaur Chawla &lt;amitoj1606@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>lance: Fix hardcoded interrupt name lp-&gt;name to use system device value</title>
<updated>2013-09-27T21:38:32Z</updated>
<author>
<name>Nate Levesque</name>
</author>
<published>2013-09-21T18:49:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f0e28d48c8641beac1239e484383c2b4764b1f02'/>
<id>urn:sha1:f0e28d48c8641beac1239e484383c2b4764b1f02</id>
<content type='text'>
The lance interrupt handler was using the hard-coded name which would make it difficult to tell where the interrupt came from. Changed to use the device name that made the interrupt.

Signed-off-by: Nate Levesque &lt;thenaterhood@gmail.com&gt;
Reviewed-by: Matthew Whitehead &lt;tedheadster@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>lance: remove unnecessary setting of skb-&gt;dev</title>
<updated>2012-07-11T06:24:56Z</updated>
<author>
<name>Jon Mason</name>
</author>
<published>2012-07-09T14:09:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5c8b73ca43dc6f419e02597d9942222b7987e74c'/>
<id>urn:sha1:5c8b73ca43dc6f419e02597d9942222b7987e74c</id>
<content type='text'>
skb-&gt;dev is being unnecessarily set during ring init.  It is already being set
to the proper value when eth_type_trans is called on packet receive, and the
skb-&gt;dev is not referenced anywhere else in the code.

Signed-off-by: Jon Mason &lt;jdmason@kudzu.us&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: remove use of ndo_set_multicast_list in drivers</title>
<updated>2011-08-18T03:22:03Z</updated>
<author>
<name>Jiri Pirko</name>
</author>
<published>2011-08-16T06:29:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=afc4b13df143122f99a0eb10bfefb216c2806de0'/>
<id>urn:sha1:afc4b13df143122f99a0eb10bfefb216c2806de0</id>
<content type='text'>
replace it by ndo_set_rx_mode

Signed-off-by: Jiri Pirko &lt;jpirko@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>amd: Move AMD (Lance) chipset drivers</title>
<updated>2011-08-11T02:54:11Z</updated>
<author>
<name>Jeff Kirsher</name>
</author>
<published>2011-03-30T14:46:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b955f6ca776f3bab3d1e2c5fb1d247b203cbda14'/>
<id>urn:sha1:b955f6ca776f3bab3d1e2c5fb1d247b203cbda14</id>
<content type='text'>
Moves the drivers for the AMD chipsets into drivers/net/ethernet/amd/
and the necessary Kconfig and Makfile changes.

The au1000 (Alchemy) driver was also moved into the same directory
even though it is not a "Lance" driver.

CC: Peter Maydell &lt;pmaydell@chiark.greenend.org.uk&gt;
CC: Roman Hodek &lt;Roman.Hodek@informatik.uni-erlangen.de&gt;
CC: "Maciej W. Rozycki" &lt;macro@linux-mips.org&gt;
CC: Donald Becker &lt;becker@scyld.com&gt;
CC: Sam Creasey &lt;sammy@users.qual.net&gt;
CC: Miguel de Icaza &lt;miguel@nuclecu.unam.mx&gt;
CC: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;
CC: Don Fry &lt;pcnet32@frontier.com&gt;
CC: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
CC: Russell King &lt;linux@arm.linux.org.uk&gt;
CC: David Davies &lt;davies@maniac.ultranet.com&gt;
CC: "M.Hipp" &lt;hippm@informatik.uni-tuebingen.de&gt;
CC: Pete Popov &lt;ppopov@embeddedalley.com&gt;
CC: David Hinds &lt;dahinds@users.sourceforge.net&gt;
CC: "Roger C. Pao" &lt;rpao@paonet.org&gt;
Signed-off-by: Jeff Kirsher &lt;jeffrey.t.kirsher@intel.com&gt;
</content>
</entry>
</feed>
