All of lore.kernel.org
 help / color / mirror / Atom feed
From: yzhu1 <Yanjun.Zhu@windriver.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: netdev <netdev@vger.kernel.org>,
	"Wu, Kuaikuai" <Kuaikuai.Wu@windriver.com>,
	"Tao, Yue" <Yue.Tao@windriver.com>,
	"dsahern@gmail.com >> David Ahern" <dsahern@gmail.com>
Subject: Re: If bridge have no sub-interfaces, it's status may be still with 'RUNNING'
Date: Tue, 10 Mar 2015 14:07:30 +0800	[thread overview]
Message-ID: <54FE8A22.4020608@windriver.com> (raw)
In-Reply-To: <54E17853.8070106@windriver.com>

Hi, Stephen && David

Any update ?

Best Regards!
Zhu Yanjun
On 02/16/2015 12:55 PM, yzhu1 wrote:
> Hi, Stephen
>
> Follow your advice, I made a new patch. This patch will turn off
> carrier when a new bridge interface is created. Please comment on it.
>
> Thanks a lot.
> Zhu Yanjun
> On 02/14/2015 02:30 AM, Stephen Hemminger wrote:
>> On Fri, 13 Feb 2015 17:57:45 +0800
>> yzhu1 <Yanjun.Zhu@windriver.com> wrote:
>>
>>> Hi, all
>>>
>>> I made this test on ubuntu 14.04 with kernel 3,19-rc7:
>>>
>>> 1. brctl addbr br0
>>>
>>> 2. ifconfig br0 up
>>>
>>> 3. ifconfig br0 (br0's status is with 'RUNNING')
>>>
>>> 4. brctl addif br0 eth0
>>>
>>> 5. brctl delif br0 eth0
>>>
>>> 6. ifconfig br0 (br0's status is without 'RUNNING')
>>>
>>> When there is no sub-interface, the flag "RUNNING" is missing after the
>>> last sub-interface is removed.
>>>
>>> As such, should we keep "RUNNING" flag after the last sub-interface is
>>> removed?
>> This is intentional. If there are no active ports in bridge, then
>> we want to tell applications that packets will go nowhere.
>>
>>
>

      parent reply	other threads:[~2015-03-10  6:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-13  9:57 If bridge have no sub-interfaces, it's status may be still with 'RUNNING' yzhu1
2015-02-13 10:00 ` yzhu1
2015-02-13 18:30 ` Stephen Hemminger
2015-02-15  7:49   ` Wu, Kuaikuai
2015-02-16  4:55   ` yzhu1
2015-02-16 15:47     ` David Ahern
2015-02-16 16:51       ` Stephen Hemminger
2015-02-17 16:14         ` Zhu, Yanjun
2015-02-25  2:55           ` yzhu1
2015-02-25  4:23             ` David Ahern
2015-02-25  5:29               ` yzhu1
2015-02-16 16:52     ` Stephen Hemminger
2015-03-10  6:07     ` yzhu1 [this message]

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=54FE8A22.4020608@windriver.com \
    --to=yanjun.zhu@windriver.com \
    --cc=Kuaikuai.Wu@windriver.com \
    --cc=Yue.Tao@windriver.com \
    --cc=dsahern@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.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.