]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "ipv6: ndisc: inherit metadata dst when creating ndisc requests"
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Fri, 27 Nov 2015 17:17:05 +0000 (18:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Dec 2015 20:07:59 +0000 (15:07 -0500)
commit15777088f378eb51a95812fe84a58646cf9c05c3
treeb7c215879c5b0b71bb959d13d13b0e1db0fd0caf
parent250683d0fe54223ba6b6d62630d89c137580b05c
Revert "ipv6: ndisc: inherit metadata dst when creating ndisc requests"

This reverts commit 8c64335327a3817c432d4887d3a3c66889d1d072.

In IPv6, we cannot inherit the dst of the original dst. ndisc packets
are IPv6 packets and may take another route than the original packet.

This patch breaks the following scenario: a packet comes from eth0 and
is forwarded through vxlan1. The encapsulated packet triggers an NS
which cannot be sent because of the wrong route.

CC: Jiri Benc <jbenc@redhat.com>
CC: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ndisc.h
net/ipv6/addrconf.c
net/ipv6/ndisc.c
net/ipv6/route.c