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)
commit56139fc5bd6e740706993ab3ad0d0aeff69a8479
tree65ce11b7198f8cbece5e8ccd05bfb47b4e0fc0af
parent0652cac22ce3fa0c90e35d0a2862969fc394cb02
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