aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_input.c
diff options
context:
space:
mode:
authorDavid Ahern <dsa@cumulusnetworks.com>2016-08-14 19:52:56 -0700
committerSteffen Klassert <steffen.klassert@secunet.com>2016-08-22 06:33:32 +0200
commit11d7a0bb95eaaba1741bb24a7c3c169c82f09c7b (patch)
tree3c650da684bb7b92723804fa8e90d883390ea1b5 /net/xfrm/xfrm_input.c
parentnet/xfrm_input: fix possible NULL deref of tunnel.ip6->parms.i_key (diff)
downloadlinux-dev-11d7a0bb95eaaba1741bb24a7c3c169c82f09c7b.tar.xz
linux-dev-11d7a0bb95eaaba1741bb24a7c3c169c82f09c7b.zip
xfrm: Only add l3mdev oif to dst lookups
Subash reported that commit 42a7b32b73d6 ("xfrm: Add oif to dst lookups") broke a wifi use case that uses fib rules and xfrms. The intent of 42a7b32b73d6 was driven by VRFs with IPsec. As a compromise relax the use of oif in xfrm lookups to L3 master devices only (ie., oif is either an L3 master device or is enslaved to a master device). Fixes: 42a7b32b73d6 ("xfrm: Add oif to dst lookups") Reported-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> Signed-off-by: David Ahern <dsa@cumulusnetworks.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/xfrm/xfrm_input.c')
0 files changed, 0 insertions, 0 deletions