]> bbs.cooldavid.org Git - net-next-2.6.git/commit
tc35815: Fix double locking on NAPI
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Wed, 24 Feb 2010 06:00:34 +0000 (06:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Feb 2010 10:08:42 +0000 (02:08 -0800)
commitdee7399c2d9a1d3b0af5d68d7e0dd922e104a2a8
tree49fe76813eeb051711370d210afea01e15082af6
parent9c5f9c2861909753140ad6a41cdc77cdf20c1dc9
tc35815: Fix double locking on NAPI

Isolate spinlock for tx and rx to resolve double-locking.

This is potential bug while this controller does not exist on any
SMP platforms, but lockdep or rt-preempt reveals this bug.

Reported-by: Ralf Roesch <ralf.roesch@rw-gmbh.de>
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tc35815.c