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)
commit304d888b29cf96f1dd53511ee686499cd8cdf249
treeb7c215879c5b0b71bb959d13d13b0e1db0fd0caf
parent142a2e7ece8d8ac0e818eb2c91f99ca894730e2a
Revert "ipv6: ndisc: inherit metadata dst when creating ndisc requests"

This reverts commit ab450605b35caa768ca33e86db9403229bf42be4.

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
This page took 0.025726 seconds and 5 git commands to generate.