]> err.no Git - linux-2.6/commit
[PATCH] bonding: suppress duplicate packets
authorJay Vosburgh <fubar@us.ibm.com>
Wed, 22 Feb 2006 00:36:44 +0000 (16:36 -0800)
committerJeff Garzik <jeff@garzik.org>
Sat, 4 Mar 2006 01:58:00 +0000 (20:58 -0500)
commit8f903c708fcc2b579ebf16542bf6109bad593a1d
tree8fb890c05d962c2dd63f8dbc960efbd0b09802d2
parentebe19a4ed78d4a11a7e01cdeda25f91b7f2fcb5a
[PATCH] bonding: suppress duplicate packets

Originally submitted by Kenzo Iwami; his original description is:

The current bonding driver receives duplicate packets when broadcast/
multicast packets are sent by other devices or packets are flooded by the
switch. In this patch, new flags are added in priv_flags of net_device
structure to let the bonding driver discard duplicate packets in
dev.c:skb_bond().

Modified by Jay Vosburgh to change a define name, update some
comments, rearrange the new skb_bond() for clarity, clear all bonding
priv_flags on slave release, and update the driver version.

Signed-off-by: Kenzo Iwami <k-iwami@cj.jp.nec.com>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/bonding/bond_main.c
drivers/net/bonding/bond_sysfs.c
drivers/net/bonding/bonding.h
include/linux/if.h
include/linux/if_ether.h
net/core/dev.c