netdev
[Top] [All Lists]

Re: Broken? 2.6.6 + IP_ADD_SOURCE_MEMBERSHIP + SO_REUSEADDR

To: davem@xxxxxxxxxx
Subject: Re: Broken? 2.6.6 + IP_ADD_SOURCE_MEMBERSHIP + SO_REUSEADDR
From: YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx>
Date: Sat, 05 Jun 2004 02:14:11 +0900 (JST)
Cc: netdev@xxxxxxxxxxx, yoshfuji@xxxxxxxxxxxxxx
In-reply-to: <20040605.015544.102223977.yoshfuji@linux-ipv6.org>
Organization: USAGI Project
References: <20040604155423.GA5656@muffin> <20040605.015544.102223977.yoshfuji@linux-ipv6.org>
Sender: netdev-bounce@xxxxxxxxxxx
In article <20040605.015544.102223977.yoshfuji@xxxxxxxxxxxxxx> (at Sat, 05 Jun 
2004 01:55:44 +0900 (JST)), YOSHIFUJI Hideaki / 吉藤英明 
<yoshfuji@xxxxxxxxxxxxxx> says:

> The following patch should fix the issue. Please try.

And, here's a variant for 2.4.

===== net/ipv4/udp.c 1.13 vs edited =====
--- 1.13/net/ipv4/udp.c 2004-02-22 06:12:49 +09:00
+++ edited/net/ipv4/udp.c       2004-06-05 01:56:50 +09:00
@@ -290,7 +290,7 @@
                    ipv6_only_sock(s)                                   ||
                    (s->bound_dev_if && s->bound_dev_if != dif))
                        continue;
-               if (!ip_mc_sf_allow(sk, loc_addr, rmt_addr, dif))
+               if (!ip_mc_sf_allow(s, loc_addr, rmt_addr, dif))
                        continue;
                break;
        }

-- yoshfuji @ time to sleep...

<Prev in Thread] Current Thread [Next in Thread>