Skip to content
Commit 2f16270f authored by David S. Miller's avatar David S. Miller
Browse files

l2tp: Fix locking in l2tp_ip.c



Both l2tp_ip_connect() and l2tp_ip_sendmsg() must take the socket
lock.  They both modify socket state non-atomically, and in particular
l2tp_ip_sendmsg() increments socket private counters without using
atomic operations.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent da905bd1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment