• Arnd Bergmann's avatar
    net/ipx: push down BKL into a ipx_dgram_ops · 83927ba0
    Arnd Bergmann authored
    Making the BKL usage explicit in ipx makes it more
    obvious where it is used, reduces code size and helps
    getting rid of the BKL in common code.
    
    I did not analyse how to kill lock_kernel from ipx
    entirely, this will involve either proving that it's not
    needed, or replacing with a proper mutex or spinlock,
    after finding out which data structures are protected
    by the lock.
    
    Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
    Cc: David S. Miller <davem@davemloft.net>
    Cc: Stephen Hemminger <shemminger@vyatta.com>
    Cc: netdev@vger.kernel.org
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    83927ba0
af_ipx.c 50.4 KB