[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 8 Aug 2013 11:01:05 +0200
From: Hannes Frederic Sowa <hannes@...essinduktion.org>
To: William Manley <william.manley@...view.com>,
netdev@...r.kernel.org, bcrl@...ck.org, luky-37@...mail.com,
sergei.shtylyov@...entembedded.com, bhutchings@...arflare.com,
davem@...emloft.net
Subject: Re: IGMP Unsolicited report interval patches
On Wed, Aug 07, 2013 at 03:03:10AM +0200, Hannes Frederic Sowa wrote:
> On Tue, Aug 06, 2013 at 07:03:12PM +0100, William Manley wrote:
> > 4th version of the patches.
> >
> > The significant changes since last review are:
> >
> > 1. there is a new patch (2/3) as requested by Hannes.
>
> Thanks!
>
> > 2. the third patch now uses IN_DEV_CONF_GET in place of
> > IPV4_DEVCONF_ALL. This means that the unsolicited report interval can
> > now be configured on an interface-by-interface basis as I'd originally
> > intended but messed up in the implementation. One concern I have now
> > is that with this latest patch-set is that while
> > /proc/sys/net/ipv4/conf/eth0/igmp... will now have an effect
> > /proc/sys/net/ipv4/conf/all/igmp... will not. I'm not sure how to
> > resolve this.
>
> Hm, it seems to be come more difficult dealing with ranges.
>
> One way would be, to check the state bit for the devinet entry and chose the
> all value always but when the state bit for the interface for this entry is
> set. I'll have a look on how to do this.
We copy ipv4_devconf_dftl over to the per-interface ipv4_devconf as long no
address is assigned to the interface.
The copy-over is guarded by by the cnf.state bitmap. It is set to all ones in
ipv4_devconf_setall which gets called at the relevant places. Instead of
setting all bits we could just apply a bitmask which would still allow a
propagation of the default/*igmp* parameters.
The all namespace has special semantics and decision what to apply are done
per knob. I wouldn't fiddle with that.
Greetings,
Hannes
--
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