mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-04-01 15:32:00 +00:00

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: David S. Miller <davem@davemloft.net>