]> git.baikalelectronics.ru Git - kernel.git/commit
appletalk: remove the BKL
authorArnd Bergmann <arnd@arndb.de>
Sat, 22 Jan 2011 23:21:11 +0000 (00:21 +0100)
committerArnd Bergmann <arnd@arndb.de>
Sat, 5 Mar 2011 09:55:57 +0000 (10:55 +0100)
commitb4972ce24e454ebe3be01ad212486059c517b3b8
tree1b6b03505a435172932869bdc0a966d62c560985
parent74793d32b29bbba75bd25f9a600f5ebe46c98ada
appletalk: remove the BKL

This changes appletalk to use lock_sock instead of
lock_kernel for serialization. I tried to make sure
that we don't hold the socket lock during sleeping
functions, but I did not try to prove whether the
locks are necessary in the first place.

Compile-tested only.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
drivers/net/appletalk/Kconfig
net/appletalk/ddp.c