summaryrefslogtreecommitdiffstats
path: root/CREDITS
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-05-08 22:45:20 +0200
committerDavid S. Miller <davem@davemloft.net>2011-05-08 22:45:20 +0200
commit6af88da14ee284aaad6e4326da09a89191ab6165 (patch)
treebde47277368279454abff9a860be9292556c7089 /CREDITS
parentl2tp: Fix locking in l2tp_ip.c (diff)
downloadlinux-6af88da14ee284aaad6e4326da09a89191ab6165.tar.xz
linux-6af88da14ee284aaad6e4326da09a89191ab6165.zip
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>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions