]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ipx: remove the BKL
authorArnd Bergmann <arnd@arndb.de>
Tue, 25 Jan 2011 20:49:56 +0000 (21:49 +0100)
committerArnd Bergmann <arnd@arndb.de>
Sat, 5 Mar 2011 09:55:58 +0000 (10:55 +0100)
commitb0d0d915d1d1a0fe486849f3e41333c66df620c4
treef9fef7b282b0ad9260b87c8ab2b12baa7b5deaff
parent60d9f461a20ba59219fdcdc30cbf8e3a4ad3f625
ipx: remove the BKL

This replaces all instances of lock_kernel in the
IPX code with lock_sock. As far as I can tell, this
is safe to do, because there is no global state
that needs to be locked in IPX, and the code does
not recursively take the lock or sleep indefinitely
while holding it.

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: netdev@vger.kernel.org
net/ipx/Kconfig
net/ipx/af_ipx.c