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)
commit42a7b32b73d6bf22e4bdd7bf68746e2d71f4cd8d
tree750adee8068e2e45dfa3aa39b10a6e3ea2162cf1
parentdf367561ffe5a66cd0b2970fdb8897d5487d38e6
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