]> 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)
commitb5f8108809fa92910a065a3f5a84729bbed10367
tree500f727d52572ae2e5124cde25823c4d3cedbe55
parent830b0ad3b9c7670e553d1c7511f4066afd389038
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