Bridge: Always send NETDEV_CHANGEADDR up on br MAC change.
authorAndrei Warkentin <andreiw@motorola.com>
Fri, 5 Aug 2011 11:04:10 +0000 (11:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Aug 2011 04:44:44 +0000 (21:44 -0700)
This ensures the neighbor entries associated with the bridge
dev are flushed, also invalidating the associated cached L2 headers.

This means we br_add_if/br_del_if ports to implement hand-over and
not wind up with bridge packets going out with stale MAC.

This means we can also change MAC of port device and also not wind
up with bridge packets going out with stale MAC.

This builds on Stephen Hemminger's patch, also handling the br_del_if
case and the port MAC change case.

Cc: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found