Commit db08df95 authored by David S. Miller's avatar David S. Miller

[IPV6]: ndisc_recv_ns returns void.

parent 453c5e30
...@@ -815,7 +815,7 @@ void ndisc_recv_ns(struct sk_buff *skb) ...@@ -815,7 +815,7 @@ void ndisc_recv_ns(struct sk_buff *skb)
if (!idev) { if (!idev) {
/* XXX: count this drop? */ /* XXX: count this drop? */
return 0; return;
} }
if (addr_type == IPV6_ADDR_ANY) { if (addr_type == IPV6_ADDR_ANY) {
...@@ -825,7 +825,7 @@ void ndisc_recv_ns(struct sk_buff *skb) ...@@ -825,7 +825,7 @@ void ndisc_recv_ns(struct sk_buff *skb)
ndisc_send_na(dev, NULL, &maddr, &msg->target, ndisc_send_na(dev, NULL, &maddr, &msg->target,
idev->cnf.forwarding, 0, 0, 1); idev->cnf.forwarding, 0, 0, 1);
in6_dev_put(idev); in6_dev_put(idev);
return 0; return;
} }
if (addr_type & IPV6_ADDR_UNICAST) { if (addr_type & IPV6_ADDR_UNICAST) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment