[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200905290925.19155.remi.denis-courmont@nokia.com>
Date: Fri, 29 May 2009 09:25:18 +0300
From: "Rémi Denis-Courmont"
<remi.denis-courmont@...ia.com>
To: ext Nivedita Singhvi <niv@...ibm.com>
Cc: netdev <netdev@...r.kernel.org>,
David Stevens <dlstevens@...ibm.com>,
Christoph Lameter <cl@...ux.com>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH] Multicast socket option
On Thursday 28 May 2009 20:00:46 ext Nivedita Singhvi wrote:
> After some discussion offline with Christoph Lameter and David Stevens
> regarding multicast behaviour in Linux, I'm submitting a slightly
> modified patch from the one Christoph submitted earlier.
>
> This patch provides a new socket option IP_MULTICAST_ALL.
>
> In this case, default behaviour is _unchanged_ from the current
> Linux standard. The socket option is set by default to provide
> original behaviour. Sockets wishing to receive data only from
> multicast groups they join explicitly will need to clear this
> socket option.
You can already achieve this by checking the destination address in the
SOL_PKTINFO ancilliary data. Sure, it will cause extra context switches to
process unwanted packets but it will work with any kernel version.
--
Rémi Denis-Courmont
Nokia Devices R&D, Maemo Software, Helsinki
--
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