]> 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)
commit704f410220ac1746233963c77e34992d41ccc581
treeea58f7ef1aa6fc37c97013492484af3afe24a799
parent6325029329937d24107650b481a63c1b49fb47cd
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