From: David S. Miller Date: Thu, 28 Apr 2011 20:54:06 +0000 (-0700) Subject: l2tp: Fix inet_opt conversion. X-Git-Tag: v3.0-rc1~377^2~217 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=778865a550e7958c1211242cc481f48d46de0f04;p=pandora-kernel.git l2tp: Fix inet_opt conversion. We don't actually hold the socket lock at this point, so the rcu_dereference_protected() isn't' correct. Thanks to Eric Dumazet for pointing this out. Thankfully, we're only interested in fetching the faddr value if srr is enabled, so we can simply make this an RCU sequence and use plain rcu_dereference(). Reported-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed