aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJarek Poplawski <jarkao2@gmail.com>2010-10-19 00:06:36 +0000
committerDavid S. Miller <davem@davemloft.net>2010-10-27 11:37:28 -0700
commitcd0ea2419544cfc4ccbf8ee0087d0d9f109852d2 (patch)
tree13f9f62dd9583170d1b93259b7ee1393ad9bc9ba /net
parent7a876b0efcba3804da3051313445fa7be751cab7 (diff)
downloadkernel_samsung_smdk4412-cd0ea2419544cfc4ccbf8ee0087d0d9f109852d2.zip
kernel_samsung_smdk4412-cd0ea2419544cfc4ccbf8ee0087d0d9f109852d2.tar.gz
kernel_samsung_smdk4412-cd0ea2419544cfc4ccbf8ee0087d0d9f109852d2.tar.bz2
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)
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 <eminak71@gmail.com> Tested-by: emin ak <eminak71@gmail.com> Signed-off-by: Jarek Poplawski <jarkao2@gmail.com> CC: Andy Fleming <afleming@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions