]> git.baikalelectronics.ru Git - kernel.git/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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jun 2018 14:16:45 +0000 (10:16 -0400)
commit7f76a0a539438602f41c0dca1e09ba1fc09b4a6e
treeb13547b70ef8bf299cd075b8e335bebb16dcb342
parent29f90b45a5ff4380c82f3ab007c806583a640ea3
vrf: check the original netdevice for generating redirect

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>
net/ipv6/ip6_output.c
net/ipv6/ndisc.c