]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bridge: leave carrier on for empty bridge
authorstephen hemminger <shemminger@vyatta.com>
Mon, 3 Oct 2011 18:14:45 +0000 (18:14 +0000)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:18:09 +0000 (11:18 -0800)
commit4bbffad3ffc87fb16927cc049f0804b5fbc08915
tree7b275796e777d2bc72af9843a709429af6b68cca
parent18c8d15f50804a5fd280c0aad682f710012c158a
bridge: leave carrier on for empty bridge

[ Upstream commit b64b73d7d0c480f75684519c6134e79d50c1b341 ]

This resolves a regression seen by some users of bridging.
Some users use the bridge like a dummy device.
They expect to be able to put an IPv6 address on the device
with no ports attached. Although there are better ways of doing
this, there is no reason to not allow it.

Note: the bridge still will reflect the state of ports in the
bridge if there are any added.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/bridge/br_device.c