]> git.baikalelectronics.ru Git - kernel.git/commit
xfrm: Add oif to dst lookups
authorDavid Ahern <dsa@cumulusnetworks.com>
Mon, 10 Aug 2015 22:58:11 +0000 (16:58 -0600)
committerSteffen Klassert <steffen.klassert@secunet.com>
Tue, 11 Aug 2015 10:41:35 +0000 (12:41 +0200)
commit4fb8ab9aa1a25b9d4b849ae4a3dee2de3b132b18
tree750adee8068e2e45dfa3aa39b10a6e3ea2162cf1
parent6a8e39f8e1a59f41725697cc3bbddd057eda9b74
xfrm: Add oif to dst lookups

Rules can be installed that direct route lookups to specific tables based
on oif. Plumb the oif through the xfrm lookups so it gets set in the flow
struct and passed to the resolver routines.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
include/net/xfrm.h
net/ipv4/xfrm4_policy.c
net/ipv6/xfrm6_policy.c
net/xfrm/xfrm_policy.c