]> git.baikalelectronics.ru Git - kernel.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)
commit7486497f697d3af3d3016386e985bc4605b5b9c1
tree49fe76813eeb051711370d210afea01e15082af6
parentc9ec9cd5e4e2886c3e07f9f6cd4d2c5e1a113254
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