From: Ganesh Goudar <[email protected]> Date: Tue, 16 May 2017 21:26:25 +0530
> From: Surendra Mobiya <[email protected]> > > Mark carrier off after registering netdev to ensure that vlan device > picks up the correct state of the carrier > > Signed-off-by: Surendra Mobiya <[email protected]> > Signed-off-by: Ganesh Goudar <[email protected]> This doesn't work. At the very moment you perform the register netdev, it can be openned, stacked onto other devices (like VLANs) etc. before your line doing the carrier off occurs. So once you do the netdev register, all the state must be completely settled beforehand.
