Files
android_kernel_xiaomi_sm8450/net/l2tp
David S. Miller 6af88da14e l2tp: Fix locking in l2tp_core.c
l2tp_xmit_skb() must take the socket lock.  It makes use of ip_queue_xmit()
which expects to execute in a socket atomic context.

Since we execute this function in software interrupts, we cannot use the
usual lock_sock()/release_sock() sequence, instead we have to use
bh_lock_sock() and see if a user has the socket locked, and if so drop
the packet.

Signed-off-by: David S. Miller <davem@davemloft.net>
2011-05-08 13:45:20 -07:00
..
2011-05-08 13:45:20 -07:00
2010-10-24 14:55:47 -07:00
2011-05-08 13:39:01 -07:00
2010-09-21 18:04:47 -07:00