diff options
author | David S. Miller <davem@davemloft.net> | 2011-05-08 22:39:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-08 22:39:01 +0200 |
commit | 2f16270f41e1499e23e6be25c51be87d950ffc91 (patch) | |
tree | b3d40d33c4ff5470eb3642d44064fe4ec4caff92 /security | |
parent | tcp: Use cork flow in tcp_v4_connect() (diff) | |
download | linux-2f16270f41e1499e23e6be25c51be87d950ffc91.tar.xz linux-2f16270f41e1499e23e6be25c51be87d950ffc91.zip |
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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions