From: David S. Miller Date: Sun, 8 May 2011 20:39:01 +0000 (-0700) Subject: l2tp: Fix locking in l2tp_ip.c X-Git-Tag: v3.0-rc1~377^2~150 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f16270f41e1499e23e6be25c51be87d950ffc91;p=pandora-kernel.git 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 --- Reading git-diff-tree failed