[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100106.203718.180097165.davem@davemloft.net>
Date: Wed, 06 Jan 2010 20:37:18 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: opurdila@...acom.com
Cc: netdev@...r.kernel.org
Subject: Re: [net-next PATCH] ip: fix mc_loop checks for tunnels with
multicast outer addresses
From: Octavian Purdila <opurdila@...acom.com>
Date: Mon, 4 Jan 2010 12:48:25 +0200
> On Monday 04 January 2010 07:58:55 you wrote:
>
>> This won't compile with IPV6 disabled. Switch closing brace is
>> erroneously inside of the ifdef test.
>>
>
> Oops... Here is a new version:
>
> [PATCH] ip: fix mc_loop checks for tunnels with multicast outer addresses
>
> When we have L3 tunnels with different inner/outer families
> (i.e. IPV4/IPV6) which use a multicast address as the outer tunnel
> destination address, multicast packets will be loopbacked back to the
> sending socket even if IP*_MULTICAST_LOOP is set to disabled.
>
> The mc_loop flag is present in the family specific part of the socket
> (e.g. the IPv4 or IPv4 specific part). setsockopt sets the inner
> family mc_loop flag. When the packet is pushed through the L3 tunnel
> it will eventually be processed by the outer family which if different
> will check the flag in a different part of the socket then it was set.
>
> Signed-off-by: Octavian Purdila <opurdila@...acom.com>
Applied to net-2.6, thanks!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists