diff options
author | Florian Westphal <fw@strlen.de> | 2016-08-09 13:16:07 +0300 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2016-08-10 12:23:24 +0300 |
commit | b65e3d7be06fd8ff5236439254f338fe1a8d4bbd (patch) | |
tree | e9831de71641f57f8987811bdfd8b74b9cdbb438 /net/rxrpc/call_object.c | |
parent | df7274eb70b7c8488170ebe8757dd94647a8e1e5 (diff) | |
download | linux-b65e3d7be06fd8ff5236439254f338fe1a8d4bbd.tar.xz |
xfrm: state: add sequence count to detect hash resizes
Once xfrm_state_find is lockless we have to cope with a concurrent
resize opertion.
We use a sequence counter to block in case a resize is in progress
and to detect if we might have missed a state that got moved to
a new hash table.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/rxrpc/call_object.c')
0 files changed, 0 insertions, 0 deletions