Skip to content
Snippets Groups Projects
Commit f771bef9 authored by Nivedita Singhvi's avatar Nivedita Singhvi Committed by David S. Miller
Browse files

ipv4: New multicast-all socket option


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.

Signed-off-by: default avatarNivedita Singhvi <niv@us.ibm.com>
Signed-off-by: default avatarChristoph <Lameter&lt;cl@linux.com>
Acked-by: default avatarDavid Stevens <dlstevens@us.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4d52cfbe
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment