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)
commit60d9f461a20ba59219fdcdc30cbf8e3a4ad3f625
tree1b6b03505a435172932869bdc0a966d62c560985
parent77b2283604bdd7053494a97b0e2fee97148206c6
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