netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* A question about setting the net device for multicast forwarding in IPv4 and in IPv6
@ 2008-05-06 13:38 David Shwatrz
  2008-05-12  8:57 ` Andy Johnson
  0 siblings, 1 reply; 3+ messages in thread
From: David Shwatrz @ 2008-05-06 13:38 UTC (permalink / raw)
  To: netdev, YOSHIFUJI Hideaki / 吉藤英明

Hi,
  I had noticed that in IPV4 we set the net device for multicast
forwarding in case
it is not already configured so, when the user space app calls
setsockopt() with MRT_INIT;
this is done by calling IPV4_DEVCONF_ALL(sock_net(sk), MC_FORWARDING)++;
in ip_mroute_setsockopt(); (net/ipv4/ipmr.c).

On the other hand, the parallel method in IPv6 does **not** performs
such action, as can be seen
from ip6_mroute_setsockopt() in net/ipv6/ip6mr.c.

My question is : is there any special for it to be so? (In case it
should be also in IPv6, I will happy to send such a patch).

Best Regards,
DS

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-05-12 11:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-06 13:38 A question about setting the net device for multicast forwarding in IPv4 and in IPv6 David Shwatrz
2008-05-12  8:57 ` Andy Johnson
2008-05-12 11:08   ` Rami Rosen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).