diff options
author | Steffen Klassert | 2018-02-01 11:26:12 +0100 |
---|---|---|
committer | Steffen Klassert | 2018-02-13 09:09:28 +0100 |
commit | 2471c98165494173a3cd03231b216b909c063e41 (patch) | |
tree | 0ae4694e512682ae39937c43cab4a083b13b7799 /net/xfrm/xfrm_user.c | |
parent | xfrm: Refuse to insert 32 bit userspace socket policies on 64 bit systems (diff) | |
download | kernel-qcow2-linux-2471c98165494173a3cd03231b216b909c063e41.tar.gz kernel-qcow2-linux-2471c98165494173a3cd03231b216b909c063e41.tar.xz kernel-qcow2-linux-2471c98165494173a3cd03231b216b909c063e41.zip |
xfrm: Fix policy hold queue after flowcache removal.
Now that the flowcache is removed we need to generate
a new dummy bundle every time we check if the needed
SAs are in place because the dummy bundle is not cached
anymore. Fix it by passing the XFRM_LOOKUP_QUEUE flag
to xfrm_lookup(). This makes sure that we get a dummy
bundle in case the SAs are not yet in place.
Fixes: 3ca28286ea80 ("xfrm_policy: bypass flow_cache_lookup")
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/xfrm/xfrm_user.c')
0 files changed, 0 insertions, 0 deletions