• Ralf Bächle's avatar
    [AX25]: Fix ax25_get_socket locking · 7f859721
    Ralf Bächle authored
    In an attempt to return a locked socket ax25_get_socket() was calling
    lock_sock() with a spinlock held, bad idea.  Making matters worse it's
    only user is running in bottom half context resulting in a potencial
    attempt to sleep in bottom half context, so fix the locking there as well.
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    7f859721
ax25_in.c 11 KB