mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]>
Acked-by: Thomas Graf <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
06e9d040ba
commit
ab450605b3
4 changed files with 11 additions and 6 deletions
|
|
@ -182,7 +182,8 @@ int ndisc_rcv(struct sk_buff *skb);
|
|||
|
||||
void ndisc_send_ns(struct net_device *dev, struct neighbour *neigh,
|
||||
const struct in6_addr *solicit,
|
||||
const struct in6_addr *daddr, const struct in6_addr *saddr);
|
||||
const struct in6_addr *daddr, const struct in6_addr *saddr,
|
||||
struct sk_buff *oskb);
|
||||
|
||||
void ndisc_send_rs(struct net_device *dev,
|
||||
const struct in6_addr *saddr, const struct in6_addr *daddr);
|
||||
|
|
|
|||
Loading…
Reference in a new issue