[NET]: Fix secondary unicast/multicast address count maintenance
authorPatrick McHardy <kaber@trash.net>
Sat, 30 Jun 2007 20:35:52 +0000 (13:35 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 11 Jul 2007 05:16:23 +0000 (22:16 -0700)
commit61cbc2fca6335be52788773b21efdc52a2750924
tree489e6a9571c7fabd49dcff384dd634635fe66555
parentd62733c8e437fdb58325617c4b3331769ba82d70
[NET]: Fix secondary unicast/multicast address count maintenance

When a reference to an existing address is increased or decreased without
hitting zero, the address count is incorrectly adjusted.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c
net/core/dev_mcast.c