Files
kernel_arpi/include/net
Nicolas Dichtel 9c1154f395 xfrm: fix dflt policy check when there is no policy configured
commit ec3bb890817e4398f2d46e12e2e205495b116be9 upstream.

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: 2d151d3907 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-01-27 11:05:14 +01:00
..
2021-07-01 13:19:48 -07:00
2021-06-11 13:32:46 -07:00
2021-08-03 11:50:22 +01:00
2021-07-29 12:18:11 +01:00
2021-07-27 20:11:44 +01:00
2021-07-27 13:05:56 +01:00
2021-10-18 13:47:09 +01:00
2021-05-17 15:29:35 -07:00
2021-08-04 10:01:26 +01:00
2021-08-03 13:05:26 +01:00