netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "David Shwatrz" <dshwatrz@gmail.com>
To: netdev@vger.kernel.org,
	"YOSHIFUJI Hideaki / 吉藤英明" <yoshfuji@linux-ipv6.org>
Subject: A question about setting the net device for multicast forwarding in IPv4 and in IPv6
Date: Tue, 6 May 2008 16:38:04 +0300	[thread overview]
Message-ID: <31436f4a0805060638o2f97e3d7v8355fb678454da47@mail.gmail.com> (raw)

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

             reply	other threads:[~2008-05-06 13:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-06 13:38 David Shwatrz [this message]
2008-05-12  8:57 ` A question about setting the net device for multicast forwarding in IPv4 and in IPv6 Andy Johnson
2008-05-12 11:08   ` Rami Rosen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=31436f4a0805060638o2f97e3d7v8355fb678454da47@mail.gmail.com \
    --to=dshwatrz@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=yoshfuji@linux-ipv6.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).