<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/gianfar.c, branch linux-2.6.34.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.34.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.34.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2011-04-17T20:15:54Z</updated>
<entry>
<title>gianfar: Fix crashes on RX path (Was Re: [Bugme-new] [Bug 19692] New: linux-2.6.36-rc5 crash with gianfar ethernet at full line rate traffic)</title>
<updated>2011-04-17T20:15:54Z</updated>
<author>
<name>Jarek Poplawski</name>
</author>
<published>2010-10-19T00:06:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=53565f12d7d9a0e5a56eade6d4df7d6fa77ffe3f'/>
<id>urn:sha1:53565f12d7d9a0e5a56eade6d4df7d6fa77ffe3f</id>
<content type='text'>
commit cd0ea2419544cfc4ccbf8ee0087d0d9f109852d2 upstream.

The rx_recycle queue is global per device but can be accesed by many
napi handlers at the same time, so it needs full skb_queue primitives
(with locking). Otherwise, various crashes caused by broken skbs are
possible.

This patch resolves, at least partly, bugzilla bug 19692. (Because of
some doubts that there could be still something around which is hard
to reproduce my proposal is to leave this bug opened for a month.)

Fixes commit: 0fd56bb5be6455d0d42241e65aed057244665e5e ("gianfar: Add
support for skb recycling")

Reported-by: emin ak &lt;eminak71@gmail.com&gt;
Tested-by: emin ak &lt;eminak71@gmail.com&gt;
Signed-off-by: Jarek Poplawski &lt;jarkao2@gmail.com&gt;
CC: Andy Fleming &lt;afleming@freescale.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>net/gianfar: drop recycled skbs on MTU change</title>
<updated>2010-05-06T04:29:15Z</updated>
<author>
<name>Sebastian Andrzej Siewior</name>
</author>
<published>2010-05-04T22:30:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7df9c43fbe470628a755dfd028e58fdd7ab9b44e'/>
<id>urn:sha1:7df9c43fbe470628a755dfd028e58fdd7ab9b44e</id>
<content type='text'>
The size for skbs which is added to the recycled list is using the
current descriptor size which is current MTU. gfar_new_skb() is also
using this size. So after changing or alteast increasing the MTU all
recycled skbs should be dropped.

Signed-off-by: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Acked-by: Andy Fleming &lt;afleming@freescale.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>gianfar: Wait for both RX and TX to stop</title>
<updated>2010-04-27T23:43:31Z</updated>
<author>
<name>Andy Fleming</name>
</author>
<published>2010-04-27T23:43:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=761ed01b35ca32bfd4166cc3862ae80ee33e3a4b'/>
<id>urn:sha1:761ed01b35ca32bfd4166cc3862ae80ee33e3a4b</id>
<content type='text'>
When gracefully stopping the controller, the driver was continuing if
*either* RX or TX had stopped.  We need to wait for both, or the
controller could get into an invalid state.

Signed-off-by: Andy Fleming &lt;afleming@freescale.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>gianfar: Fix potential oops during OF address translation</title>
<updated>2010-04-23T23:20:25Z</updated>
<author>
<name>Anton Vorontsov</name>
</author>
<published>2010-04-23T07:12:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7ce97d4f78b62e3af24cdd4df953d777e7efb2f6'/>
<id>urn:sha1:7ce97d4f78b62e3af24cdd4df953d777e7efb2f6</id>
<content type='text'>
gianfar driver may pass NULL pointer to the of_translate_address(),
which may lead to a kernel oops. Fix this by using of_iomap(), which
is also much simpler and shorter.

Signed-off-by: Anton Vorontsov &lt;avorontsov@mvista.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: gianfar - align BD ring size console messages</title>
<updated>2010-03-31T06:03:18Z</updated>
<author>
<name>Kim Phillips</name>
</author>
<published>2010-03-30T11:54:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ddc01b3b8ab224b346daf61976078b166f36b7e8'/>
<id>urn:sha1:ddc01b3b8ab224b346daf61976078b166f36b7e8</id>
<content type='text'>
fix this:

eth2: :RX BD ring size for Q[0]: 256
eth2:TX BD ring size for Q[0]: 256

to look like:

eth2: RX BD ring size for Q[0]: 256
eth2: TX BD ring size for Q[0]: 256

Signed-off-by: Kim Phillips &lt;kim.phillips@freescale.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: gianfar - initialize per-queue statistics</title>
<updated>2010-03-31T06:03:17Z</updated>
<author>
<name>Kim Phillips</name>
</author>
<published>2010-03-30T11:54:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ed130589d9afa3238c94b9537f2024355b9638e1'/>
<id>urn:sha1:ed130589d9afa3238c94b9537f2024355b9638e1</id>
<content type='text'>
Interfaces come up claiming having already received 3.0 GiB.
Use kzalloc to properly initialize per-queue data.

Signed-off-by: Kim Phillips &lt;kim.phillips@freescale.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>gianfar: Fix a memory leak in gianfar close code</title>
<updated>2010-03-31T06:03:16Z</updated>
<author>
<name>Andy Fleming</name>
</author>
<published>2010-03-29T15:42:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7c0d10d35f7f47d00cc5f2b85ee5e95c2b1fdb7e'/>
<id>urn:sha1:7c0d10d35f7f47d00cc5f2b85ee5e95c2b1fdb7e</id>
<content type='text'>
gianfar needed to ensure existence of the *skbuff arrays before
freeing the skbs in them, rather than ensuring their nonexistence.

Signed-off-by: Andy Fleming &lt;afleming@freescale.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>gianfar: fix undo of reserve()</title>
<updated>2010-03-27T03:16:23Z</updated>
<author>
<name>Ben Menchaca</name>
</author>
<published>2010-03-24T05:05:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a6d36d5689b1806a3365c909192e9f03a43a632b'/>
<id>urn:sha1:a6d36d5689b1806a3365c909192e9f03a43a632b</id>
<content type='text'>
Fix undo of reserve() before RX recycle

gfar_new_skb reserve()s space in the SKB to align it.  If an error occurs,
and the skb needs to be returned to the RX recycle queue, the current code
attempts to reset head, but did not reset tail.  This patch remembers the
alignment amount, and reverses the reserve() when needed.

Signed-off-by: Ben Menchaca &lt;ben@bigfootnetworks.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6</title>
<updated>2010-03-13T22:50:18Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2010-03-13T22:50:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d89b218b801fd93ea95880f1c7fde348cbcc51c5'/>
<id>urn:sha1:d89b218b801fd93ea95880f1c7fde348cbcc51c5</id>
<content type='text'>
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (108 commits)
  bridge: ensure to unlock in error path in br_multicast_query().
  drivers/net/tulip/eeprom.c: fix bogus "(null)" in tulip init messages
  sky2: Avoid rtnl_unlock without rtnl_lock
  ipv6: Send netlink notification when DAD fails
  drivers/net/tg3.c: change the field used with the TG3_FLAG_10_100_ONLY constant
  ipconfig: Handle devices which take some time to come up.
  mac80211: Fix memory leak in ieee80211_if_write()
  mac80211: Fix (dynamic) power save entry
  ipw2200: use kmalloc for large local variables
  ath5k: read eeprom IQ calibration values correctly for G mode
  ath5k: fix I/Q calibration (for real)
  ath5k: fix TSF reset
  ath5k: use fixed antenna for tx descriptors
  libipw: split ieee-&gt;networks into small pieces
  mac80211: Fix sta_mtx unlocking on insert STA failure path
  rt2x00: remove KSEG1ADDR define from rt2x00soc.h
  net: add ColdFire support to the smc91x driver
  asix: fix setting mac address for AX88772
  ipv6 ip6_tunnel: eliminate unused recursion field from ip6_tnl{}.
  net: Fix dev_mc_add()
  ...
</content>
</entry>
<entry>
<title>bitops: rename for_each_bit() to for_each_set_bit()</title>
<updated>2010-03-06T19:26:23Z</updated>
<author>
<name>Akinobu Mita</name>
</author>
<published>2010-03-05T21:41:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=984b3f5746ed2cde3d184651dabf26980f2b66e5'/>
<id>urn:sha1:984b3f5746ed2cde3d184651dabf26980f2b66e5</id>
<content type='text'>
Rename for_each_bit to for_each_set_bit in the kernel source tree.  To
permit for_each_clear_bit(), should that ever be added.

The patch includes a macro to map the old for_each_bit() onto the new
for_each_set_bit().  This is a (very) temporary thing to ease the migration.

[akpm@linux-foundation.org: add temporary for_each_bit()]
Suggested-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Suggested-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Akinobu Mita &lt;akinobu.mita@gmail.com&gt;
Cc: "David S. Miller" &lt;davem@davemloft.net&gt;
Cc: Russell King &lt;rmk@arm.linux.org.uk&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Cc: Artem Bityutskiy &lt;dedekind@infradead.org&gt;
Cc: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
