Re: [PATCH] ipv6: no addrconf for slave devices

2015-10-16 Thread Jan Blunck
On Fri, Oct 16, 2015 at 6:14 PM, David Ahern wrote: > On 10/16/15 10:12 AM, Jan Blunck wrote: >> >> On Fri, Oct 16, 2015 at 6:02 PM, David Ahern >> wrote: >>> >>> On 10/16/15 9:57 AM, Jan Blunck wrote: >>>> >>>> >>>>

Re: [PATCH] ipv6: no addrconf for slave devices

2015-10-16 Thread Jan Blunck
On Fri, Oct 16, 2015 at 6:02 PM, David Ahern wrote: > On 10/16/15 9:57 AM, Jan Blunck wrote: >> >> >> I don't think that enslaved ports should get network layer addresses. >> This is one example with a team device: > > > for VRF devices we do want the en

Re: [PATCH] ipv6: no addrconf for slave devices

2015-10-16 Thread Jan Blunck
ated and a link-local address is added to the slave interface. >> >>This patch alters the behavior so that addrconf will only run on the master >>device itself. This is achieved by checking the device tree instead of >>checking for a specific flag. >> >>Si

[PATCH] ipv6: no addrconf for slave devices

2015-10-16 Thread Jan Blunck
itself. This is achieved by checking the device tree instead of checking for a specific flag. Signed-off-by: Jan Blunck --- net/ipv6/addrconf.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 9001133..26d61f0 100644 --- a/net

Re: [PATCH] team: set IFF_SLAVE on team ports

2015-07-09 Thread Jan Blunck
On Thu, Jul 9, 2015 at 12:07 PM, Jiri Pirko wrote: > Thu, Jul 09, 2015 at 11:58:34AM CEST, jblu...@infradead.org wrote: >>The code in net/ipv6/addrconf.c:addrconf_notify() tests for IFF_SLAVE to >>decide if it should start the address configuration. Since team ports >>shouldn't get link-local addr

[PATCH] team: set IFF_SLAVE on team ports

2015-07-09 Thread Jan Blunck
The code in net/ipv6/addrconf.c:addrconf_notify() tests for IFF_SLAVE to decide if it should start the address configuration. Since team ports shouldn't get link-local addresses assigned lets set IFF_SLAVE when linking a port to the team master. Signed-off-by: Jan Blunck --- drivers/net