]> 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)
commit993df2c247d95e51a1195e75b941ac5f86026131
tree65ce11b7198f8cbece5e8ccd05bfb47b4e0fc0af
parent3447303091b84e70881e7d16412c143085057a48
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