All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@linux-foundation.org>
To: "Weirich, Bernhard" <Bernhard.Weirich@riedel.net>
Cc: "bridge@lists.linux-foundation.org" <bridge@lists.linux-foundation.org>
Subject: Re: [Bridge] possible bridge regression in "bridge: implement [add/del]_slave ops"?
Date: Wed, 10 Aug 2011 08:11:38 -0700	[thread overview]
Message-ID: <20110810081138.3a1b2632@nehalam.ftrdhcpuser.net> (raw)
In-Reply-To: <6680AE1BD102B9419251E785D19F5D039FA037F0@ExchN1.riedel.net>

On Wed, 10 Aug 2011 09:54:58 +0200
"Weirich, Bernhard" <Bernhard.Weirich@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.

  reply	other threads:[~2011-08-10 15:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-10  7:54 [Bridge] possible bridge regression in "bridge: implement [add/del]_slave ops"? Weirich, Bernhard
2011-08-10 15:11 ` Stephen Hemminger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-06-30  8:33 Alexander Stein
2011-06-30 13:27 ` Alexander Stein
2011-06-30 17:03   ` [Bridge] " Stephen Hemminger
2011-06-30 17:08 ` Stephen Hemminger
2011-07-01 10:08   ` David Lamparter
2011-07-04  6:46   ` Alexander Stein
2011-07-05 21:28 ` Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110810081138.3a1b2632@nehalam.ftrdhcpuser.net \
    --to=shemminger@linux-foundation.org \
    --cc=Bernhard.Weirich@riedel.net \
    --cc=bridge@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.