Florian Westphal 30846090a7 xfrm: policy: add sequence count to sync with hash resize
Once xfrm_policy_lookup_bytype doesn't grab xfrm_policy_lock anymore its
possible for a hash resize to occur in parallel.

Use sequence counter to block lookup in case a resize is in
progress and to also re-lookup in case hash table was altered
in the mean time (might cause use to not find the best-match).

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
2016-08-12 08:07:11 +02:00
..
2016-06-28 05:26:14 -04:00
2016-08-08 15:36:38 -07:00
2016-07-05 14:08:47 -07:00
2016-08-09 14:57:39 -07:00
2016-07-30 16:33:25 -07:00
2016-07-26 16:19:19 -07:00
2016-07-19 20:49:16 -07:00
2016-07-19 20:49:16 -07:00