Is this fix (for udpv6_mcast_deliver()) correct?
I guess you're confusing similar code in ipv4/udp.c;
order of arguments for udp_XX_mcast_next() is different between
ipv6 and ipv4.
Index: udp.c
===================================================================
RCS file: /cvsroot/usagi/kernel/linux24/net/ipv6/udp.c,v
retrieving revision 1.1.1.5
diff -u -r1.1.1.5 udp.c
--- linux24/net/ipv6/udp.c 2000/11/01 04:31:45 1.1.1.5
+++ linux24/net/ipv6/udp.c 2000/12/01 10:17:29
@@ -577,8 +577,8 @@
buff = NULL;
sk2 = sk;
- while((sk2 = udp_v6_mcast_next(sk2->next, uh->dest, saddr,
- uh->source, daddr, dif))) {
+ while((sk2 = udp_v6_mcast_next(sk2->next, uh->dest, daddr,
+ uh->source, saddr, dif))) {
if (!buff) {
buff = skb_clone(skb, GFP_ATOMIC);
if (!buff)
--
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@xxxxxxxxxxxxxx>
PGP5i FP: F731 6599 5EB2 BBA7 1515 1323 1806 A96F 5700 6B25
|