bridge: make bridge address settings sticky
authorStephen Hemminger <shemminger@vyatta.com>
Tue, 17 Jun 2008 23:10:06 +0000 (16:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jun 2008 23:10:06 +0000 (16:10 -0700)
commit92c0574f11598c8036f81e27d2e8bdd6eed7d76d
tree179c0a8ef7291cc65a692043310b543d35c16eac
parent43aa1920117801fe9ae3d1fad886b62511e09bee
bridge: make bridge address settings sticky

Normally, the bridge just chooses the smallest mac address as the
bridge id and mac address of bridge device. But if the administrator
has explictly set the interface address then don't change it.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_device.c
net/bridge/br_private.h
net/bridge/br_stp_if.c