net/bonding: emit address change event also in bond_release
authorShlomo Pongratz <shlomop@mellanox.com>
Tue, 3 Apr 2012 22:56:19 +0000 (22:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Apr 2012 22:11:12 +0000 (18:11 -0400)
commit2af73d4b2afe826d23e83f3747f850eefbd867ff
treeab503b426a45d2395f0ff80c6bd74e9f603feb8c
parentacdd5985364f8dc511a0762fab2e683f29d9d692
net/bonding: emit address change event also in bond_release

commit 7d26bb103c4 "bonding: emit event when bonding changes MAC" didn't
take care to emit the NETDEV_CHANGEADDR event in bond_release, where bonding
actually changes the mac address (to all zeroes). As a result the neighbours
aren't deleted by the core networking code (which does so upon getting that
event).

Signed-off-by: Shlomo Pongratz <shlomop@mellanox.com>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c