]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
xfrm: Decode sessions with output interface.
authorSteffen Klassert <steffen.klassert@secunet.com>
Mon, 9 Sep 2013 08:38:38 +0000 (10:38 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Mon, 16 Sep 2013 07:39:43 +0000 (09:39 +0200)
commitbafd4bd4dcfa13145db7f951251eef3e10f8c278
treeea58f7ef1aa6fc37c97013492484af3afe24a799
parent4479ff76c43607b680f9349128d8493228b49dce
xfrm: Decode sessions with output interface.

The output interface matching does not work on forward
policy lookups, the output interface of the flowi is
always 0. Fix this by setting the output interface when
we decode the session.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/ipv4/xfrm4_policy.c
net/ipv6/xfrm6_policy.c