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: I don't think that enslaved ports should get network layer addresses.

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

2015-10-16 Thread David Ahern
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: 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 enslaved links to

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 enslaved links to have link local addresses. >

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

2015-10-16 Thread David Ahern
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 enslaved links to have link local addresses. -- To unsubscribe from this list: send the line "unsubscribe netdev"

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

2015-10-16 Thread Jan Blunck
On Fri, Oct 16, 2015 at 1:54 PM, Jiri Pirko wrote: > Fri, Oct 16, 2015 at 12:21:51PM CEST, jblu...@infradead.org wrote: >>If a device without the IFF_SLAVE flag set (e.g. team, bridge, openvswitch >>vport, batman) is enslaved and IPv6 is active then addrconf will be >>initiated and a link-local ad

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

2015-10-16 Thread Hannes Frederic Sowa
On Fri, Oct 16, 2015, at 13:54, Jiri Pirko wrote: > Fri, Oct 16, 2015 at 12:21:51PM CEST, jblu...@infradead.org wrote: > >If a device without the IFF_SLAVE flag set (e.g. team, bridge, openvswitch > >vport, batman) is enslaved and IPv6 is active then addrconf will be > >initiated and a link-local a

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

2015-10-16 Thread Jiri Pirko
Fri, Oct 16, 2015 at 12:21:51PM CEST, jblu...@infradead.org wrote: >If a device without the IFF_SLAVE flag set (e.g. team, bridge, openvswitch >vport, batman) is enslaved and IPv6 is active then addrconf will be >initiated and a link-local address is added to the slave interface. > >This patch alte

[PATCH] ipv6: no addrconf for slave devices

2015-10-16 Thread Jan Blunck
If a device without the IFF_SLAVE flag set (e.g. team, bridge, openvswitch vport, batman) is enslaved and IPv6 is active then addrconf will be initiated 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 itse