From: Ganesh Goudar <ganes...@chelsio.com>
Date: Tue, 16 May 2017 21:26:25 +0530

> From: Surendra Mobiya <suren...@chelsio.com>
> 
> Mark carrier off after registering netdev to ensure that vlan device
> picks up the correct state of the carrier
> 
> Signed-off-by: Surendra Mobiya <suren...@chelsio.com>
> Signed-off-by: Ganesh Goudar <ganes...@chelsio.com>

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.

Reply via email to