diff options
author | Florian Westphal <fw@strlen.de> | 2016-08-09 12:16:07 +0200 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2016-08-10 11:23:24 +0200 |
commit | b65e3d7be06fd8ff5236439254f338fe1a8d4bbd (patch) | |
tree | e9831de71641f57f8987811bdfd8b74b9cdbb438 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | df7274eb70b7c8488170ebe8757dd94647a8e1e5 (diff) |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions