android_kernel_xiaomi_sm8350/net/x25
Arnd Bergmann 77b2283604 x25: remove the BKL
This replaces all instances of lock_kernel in x25
with lock_sock, taking care to release the socket
lock around sleeping functions (sock_alloc_send_skb
and skb_recv_datagram). It is not clear whether
this is a correct solution, but it seem to be what
other protocols do in the same situation.

Includes a fix suggested by Eric Dumazet.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: David S. Miller <davem@davemloft.net>
Tested-by: Andrew Hendry <andrew.hendry@gmail.com>
Cc: linux-x25@vger.kernel.org
Cc: netdev@vger.kernel.org
Cc: Eric Dumazet <eric.dumazet@gmail.com>
2011-03-05 10:55:45 +01:00
..
af_x25.c x25: remove the BKL 2011-03-05 10:55:45 +01:00
Kconfig x25: remove the BKL 2011-03-05 10:55:45 +01:00
Makefile
sysctl_net_x25.c
x25_dev.c
x25_facilities.c x25: possible skb leak on bad facilities 2011-02-07 13:41:38 -08:00
x25_forward.c
x25_in.c x25: possible skb leak on bad facilities 2011-02-07 13:41:38 -08:00
x25_link.c x25: Do not reference freed memory. 2011-02-09 22:36:13 -08:00
x25_out.c x25: remove the BKL 2011-03-05 10:55:45 +01:00
x25_proc.c
x25_route.c
x25_subr.c
x25_timer.c