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 0accfc268f
("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>
This commit is contained in:

committed by
David S. Miller

parent
06e9d040ba
commit
ab450605b3
@@ -538,7 +538,7 @@ static void rt6_probe_deferred(struct work_struct *w)
|
||||
container_of(w, struct __rt6_probe_work, work);
|
||||
|
||||
addrconf_addr_solict_mult(&work->target, &mcaddr);
|
||||
ndisc_send_ns(work->dev, NULL, &work->target, &mcaddr, NULL);
|
||||
ndisc_send_ns(work->dev, NULL, &work->target, &mcaddr, NULL, NULL);
|
||||
dev_put(work->dev);
|
||||
kfree(work);
|
||||
}
|
||||
|
Reference in New Issue
Block a user