]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: notifier called with the wrong device
authorstephen hemminger <shemminger@vyatta.com>
Fri, 22 Jul 2011 07:47:08 +0000 (07:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Jul 2011 00:01:12 +0000 (17:01 -0700)
commit61c8eead8bcf13ec0e4cd62d8cb625452039a29b
tree65ce11b7198f8cbece5e8ccd05bfb47b4e0fc0af
parent4ae2dcf18998c71a79f01bb78a07771e893ee2cb
bridge: notifier called with the wrong device

If a new device is added to a bridge, the ethernet address of the
bridge network device may change. When the address changes, the
appropriate callback is called, but with the wrong device argument.
The address of the bridge device (ie br0) changes not the address
of the device being passed to add_if (ie eth0).

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