diff options
author | 2021-11-22 11:33:13 +0100 | |
---|---|---|
committer | 2021-11-23 10:12:21 +0100 | |
commit | ec3bb890817e4398f2d46e12e2e205495b116be9 (patch) | |
tree | 7e5f2223112fdc83da5e690edab1426750e527b1 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | xfrm: fix policy lookup for ipv6 gre packets (diff) | |
download | linux-dev-ec3bb890817e4398f2d46e12e2e205495b116be9.tar.xz linux-dev-ec3bb890817e4398f2d46e12e2e205495b116be9.zip |
xfrm: fix dflt policy check when there is no policy configured
When there is no policy configured on the system, the default policy is
checked in xfrm_route_forward. However, it was done with the wrong
direction (XFRM_POLICY_FWD instead of XFRM_POLICY_OUT).
The default policy for XFRM_POLICY_FWD was checked just before, with a call
to xfrm[46]_policy_check().
CC: stable@vger.kernel.org
Fixes: 2d151d39073a ("xfrm: Add possibility to set the default to block if we have no policy")
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions