diff options
Diffstat (limited to 'net/ipv6/ndisc.c')
-rw-r--r-- | net/ipv6/ndisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c index f1c95125100d..b5b4fd173e98 100644 --- a/net/ipv6/ndisc.c +++ b/net/ipv6/ndisc.c | |||
@@ -1427,7 +1427,7 @@ void ndisc_send_redirect(struct sk_buff *skb, struct neighbour *neigh, | |||
1427 | icmpv6_flow_init(ndisc_socket->sk, &fl, NDISC_REDIRECT, | 1427 | icmpv6_flow_init(ndisc_socket->sk, &fl, NDISC_REDIRECT, |
1428 | &saddr_buf, &ipv6_hdr(skb)->saddr, dev->ifindex); | 1428 | &saddr_buf, &ipv6_hdr(skb)->saddr, dev->ifindex); |
1429 | 1429 | ||
1430 | dst = ip6_route_output(NULL, &fl); | 1430 | dst = ip6_route_output(&init_net, NULL, &fl); |
1431 | if (dst == NULL) | 1431 | if (dst == NULL) |
1432 | return; | 1432 | return; |
1433 | 1433 | ||