bonding: use ndo_change_rx_flags callback
authorJiri Pirko <jpirko@redhat.com>
Tue, 16 Aug 2011 03:15:04 +0000 (03:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Aug 2011 03:17:47 +0000 (20:17 -0700)
commitd03462b999307ec5c186851ec9c5751bd5a675f7
tree500f727d52572ae2e5124cde25823c4d3cedbe55
parentf3ba150392c85d8175c454a7190b5fa46a49039e
bonding: use ndo_change_rx_flags callback

Benefit from use of ndo_change_rx_flags in handling change of promisc
and allmulti. No need to store previous state locally.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
drivers/net/bonding/bonding.h