Re: [PATCH net] macvlan: make operstate and carrier more accurate

2016-01-29 Thread David Miller
From: Nikolay Aleksandrov Date: Wed, 27 Jan 2016 17:50:43 +0100 > From: Nikolay Aleksandrov > > Currently when a macvlan is being initialized and the lower device is > netif_carrier_ok(), the macvlan device doesn't run through > rfc2863_policy() and is left with UNKNOWN operstate. Fix it by add

[PATCH net] macvlan: make operstate and carrier more accurate

2016-01-27 Thread Nikolay Aleksandrov
From: Nikolay Aleksandrov Currently when a macvlan is being initialized and the lower device is netif_carrier_ok(), the macvlan device doesn't run through rfc2863_policy() and is left with UNKNOWN operstate. Fix it by adding an unconditional linkwatch event for the new macvlan device. Similar fix