diff options
Diffstat (limited to 'net/ipv6/ndisc.c')
-rw-r--r-- | net/ipv6/ndisc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c index 41720feeaa64..bb6fd95a5cd1 100644 --- a/net/ipv6/ndisc.c +++ b/net/ipv6/ndisc.c | |||
@@ -428,7 +428,6 @@ static void ndisc_send_skb(struct sk_buff *skb, | |||
428 | type = icmp6h->icmp6_type; | 428 | type = icmp6h->icmp6_type; |
429 | 429 | ||
430 | if (!dst) { | 430 | if (!dst) { |
431 | struct sock *sk = net->ipv6.ndisc_sk; | ||
432 | struct flowi6 fl6; | 431 | struct flowi6 fl6; |
433 | 432 | ||
434 | icmpv6_flow_init(sk, &fl6, type, saddr, daddr, skb->dev->ifindex); | 433 | icmpv6_flow_init(sk, &fl6, type, saddr, daddr, skb->dev->ifindex); |