All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] bridge: turn off carrier when the bridge is created
@ 2015-03-10  7:09 Zhu Yanjun
  2015-03-10  7:09 ` [PATCH 1/1] " Zhu Yanjun
  0 siblings, 1 reply; 7+ messages in thread
From: Zhu Yanjun @ 2015-03-10  7:09 UTC (permalink / raw)
  To: netdev, davem

V2:
   From Stephen, 
   "This is intentional. If there are no active ports in bridge, then
    we want to tell applications that packets will go nowhere."

V1:
  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? 


Zhu Yanjun (1):
  bridge: turn off carrier when the bridge is created

 net/bridge/br_device.c | 4 ++++
 1 file changed, 4 insertions(+)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-03-11  6:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-10  7:09 [PATCH 0/1] bridge: turn off carrier when the bridge is created Zhu Yanjun
2015-03-10  7:09 ` [PATCH 1/1] " Zhu Yanjun
2015-03-11  2:39   ` yzhu1
2015-03-11  4:03     ` David Miller
2015-03-11  5:26       ` Stephen Hemminger
2015-03-11  5:29         ` David Miller
2015-03-11  6:16         ` yzhu1

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.