summaryrefslogtreecommitdiff
path: root/net/llc/llc_c_ev.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-08-09 13:16:07 +0300
committerSteffen Klassert <steffen.klassert@secunet.com>2016-08-10 12:23:24 +0300
commitb65e3d7be06fd8ff5236439254f338fe1a8d4bbd (patch)
treee9831de71641f57f8987811bdfd8b74b9cdbb438 /net/llc/llc_c_ev.c
parentdf7274eb70b7c8488170ebe8757dd94647a8e1e5 (diff)
downloadlinux-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/llc/llc_c_ev.c')
0 files changed, 0 insertions, 0 deletions