Eric Dumazet d188ba86dd xfrm: add rcu protection to sk->sk_policy[]
XFRM can deal with SYNACK messages, sent while listener socket
is not locked. We add proper rcu protection to __xfrm_sk_clone_policy()
and xfrm_sk_policy_lookup()

This might serve as the first step to remove xfrm.xfrm_policy_lock
use in fast path.

Fixes: fa76ce7328b2 ("inet: get rid of central tcp/dccp listener timer")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-12-11 19:22:06 -05:00
..
2015-11-09 21:55:48 -05:00
2015-04-02 14:04:59 -04:00
2015-10-08 04:27:03 -07:00
2015-05-17 23:41:11 -04:00
2015-08-29 13:05:16 -07:00
2015-10-26 22:24:22 -07:00
2015-10-08 05:26:35 -07:00