]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3074f0446ae58599c68ce687f56557f623033787
tree179c0a8ef7291cc65a692043310b543d35c16eac
parent0146b25745ed0d016d72f19498a3ec784a11b861
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