[Bridge] possible bridge regression in "bridge: implement [add/del]_slave ops"?

Stephen Hemminger shemminger at linux-foundation.org
Wed Aug 10 08:11:38 PDT 2011


On Wed, 10 Aug 2011 09:54:58 +0200
"Weirich, Bernhard" <Bernhard.Weirich at riedel.net> wrote:

> Hello,
> 
> I had trouble with the new detection code for interface ports. 
> In turned out that the carrier was down, but IFF_RUNNING was set. 
> I changed the code to check for IFF_UP & IFF_LOWER_UP for interface ports and now it works the way it should.
> Would it be better to check IFF_LOWER_UP or is my interface device driver incorrect?
> 
> Best regards,
> Bernhard

The standard for carrier up is IFF_RUNNING. IFF_LOWER_UP is meant for
use by modems and other special devies.


More information about the Bridge mailing list