]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: ndisc: inherit metadata dst when creating ndisc requests
authorJiri Benc <jbenc@redhat.com>
Thu, 20 Aug 2015 11:56:27 +0000 (13:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Aug 2015 22:42:37 +0000 (15:42 -0700)
commit8b0a1e65b7c1cb5b6831e9a6927753b5d6faa8b7
tree3f85c27d4223de9d6ea283709b43cd3bcf39f7c0
parent9eb3581aba68c935ee99b5b4569b558f76d2c064
ipv6: ndisc: inherit metadata dst when creating ndisc requests

If output device wants to see the dst, inherit the dst of the original skb
in the ndisc request.

This is an IPv6 counterpart of commit 9da393ddbd97 ("arp: Inherit metadata
dst when creating ARP requests").

Signed-off-by: Jiri Benc <jbenc@redhat.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
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