Commit b861bca6 authored by Hideaki Yoshifuji's avatar Hideaki Yoshifuji

[IPV6]: Use udpv6_queue_rcv_skb for multicast delivery.

Noticed by Takashi Hibi.
parent 2aedfd65
......@@ -591,12 +591,12 @@ static void udpv6_mcast_deliver(struct udphdr *uh,
if (!buff)
continue;
}
if (sock_queue_rcv_skb(sk2, buff) >= 0)
if (udpv6_queue_rcv_skb(sk2, buff) >= 0)
buff = NULL;
}
if (buff)
kfree_skb(buff);
if (sock_queue_rcv_skb(sk, skb) < 0) {
if (udpv6_queue_rcv_skb(sk, skb) < 0) {
free_skb:
kfree_skb(skb);
}
......
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