]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite4716ddecd6629d98e2d50911dda4b90774f6d26
tree500f727d52572ae2e5124cde25823c4d3cedbe55
parent6ae5de167ff08754baf7502fbd018a43e8a1068e
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