]> git.baikalelectronics.ru Git - 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)
commit55c3a74902f359780f0e87029ffd4bd45447a637
treeea58f7ef1aa6fc37c97013492484af3afe24a799
parent84e581da1d3899df8e1668fa0cc2dd37d1df308b
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