summaryrefslogtreecommitdiffstats
path: root/include/net/netns/xfrm.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-08-11 15:17:56 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2016-08-12 08:07:12 +0200
commita7c44247f704e385c77579d65c6ee6d002832529 (patch)
tree8937a83226c46ffe7ace1a3817d76b943b1f3c6b /include/net/netns/xfrm.h
parente37cc8ade5afaf082f804c6d18eb23377146bec4 (diff)
downloadop-kernel-dev-a7c44247f704e385c77579d65c6ee6d002832529.zip
op-kernel-dev-a7c44247f704e385c77579d65c6ee6d002832529.tar.gz
xfrm: policy: make xfrm_policy_lookup_bytype lockless
side effect: no longer disables BH (should be fine). Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'include/net/netns/xfrm.h')
-rw-r--r--include/net/netns/xfrm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netns/xfrm.h b/include/net/netns/xfrm.h
index 1ab51d1..3ab828a 100644
--- a/include/net/netns/xfrm.h
+++ b/include/net/netns/xfrm.h
@@ -11,7 +11,7 @@
struct ctl_table_header;
struct xfrm_policy_hash {
- struct hlist_head *table;
+ struct hlist_head __rcu *table;
unsigned int hmask;
u8 dbits4;
u8 sbits4;
OpenPOWER on IntegriCloud