Re: [PATCH net] Propagate MAC address changes to VLANs

2016-04-30 Thread Mike Manning
On 03/03/2016 09:12 PM, David Miller wrote: > From: Mike Manning > Date: Mon, 29 Feb 2016 11:32:51 + > >> >> -/* vlan address was equal to the old address and is different from >> +/* vlan address was equal to the old address so now also inherit >> * the new address */ >> -

Re: [PATCH net] Propagate MAC address changes to VLANs

2016-03-03 Thread David Miller
From: Mike Manning Date: Mon, 29 Feb 2016 11:32:51 + > > - /* vlan address was equal to the old address and is different from > + /* vlan address was equal to the old address so now also inherit >* the new address */ > - if (ether_addr_equal(vlandev->dev_addr, vlan->real

[PATCH net] Propagate MAC address changes to VLANs

2016-02-29 Thread Mike Manning
The MAC address of the physical interface is only copied to the VLAN when it is first created, resulting in an inconsistency after MAC address changes of only newly created VLANs having an up-to-date MAC. Continuing to inherit the MAC address unless explicitly changed for the VLAN allows IPv6 EUI6

Re: [PATCH net] Propagate MAC address changes to VLANs

2016-02-25 Thread David Miller
From: Mike Manning Date: Tue, 23 Feb 2016 20:56:31 + > --- a/net/8021q/vlan.c > +++ b/net/8021q/vlan.c > @@ -293,15 +293,15 @@ static void vlan_sync_address(struct net > > /* vlan address was different from the old address and is equal to > * the new address */ > -if (!ether_a

[PATCH net] Propagate MAC address changes to VLANs

2016-02-23 Thread Mike Manning
The MAC address of the physical interface is only copied to the VLAN when it is first created, resulting in an inconsistency after MAC address changes of only newly created VLANs having an up-to-date MAC. Continuing to inherit the MAC address unless explicitly changed for the VLAN allows IPv6 EUI