• Arnd Bergmann's avatar
    ipx: remove the BKL · b0d0d915
    Arnd Bergmann authored
    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: default avatarArnd Bergmann <arnd@arndb.de>
    Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
    Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
    Cc: netdev@vger.kernel.org
    b0d0d915
af_ipx.c 50.3 KB