]> git.itanic.dy.fi Git - linux-stable/commit
vrf: check the original netdevice for generating redirect
authorStephen Suryaputra <ssuryaextr@gmail.com>
Fri, 1 Jun 2018 04:05:21 +0000 (00:05 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Jun 2018 20:48:17 +0000 (22:48 +0200)
commitd15680f6533adca48592a3b892a8a3995fa5f349
treef20b0019ba091f71e7c3e7ca77e4e0408a63ce57
parent0fe515e800ebd2e6358aade3eebdef1634da0892
vrf: check the original netdevice for generating redirect

[ Upstream commit 2f17becfbea5e9a0529b51da7345783e96e69516 ]

Use the right device to determine if redirect should be sent especially
when using vrf. Same as well as when sending the redirect.

Signed-off-by: Stephen Suryaputra <ssuryaextr@gmail.com>
Acked-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv6/ip6_output.c
net/ipv6/ndisc.c