]> git.baikalelectronics.ru Git - 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)
commit93b67ab357cc81a2f69253df73d42b9d83b1613a
treef9fef7b282b0ad9260b87c8ab2b12baa7b5deaff
parentb4972ce24e454ebe3be01ad212486059c517b3b8
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