[AX25]: Fix ax25_get_socket locking
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: David S. Miller <davem@davemloft.net>
Showing
Please register or sign in to comment