1
linux/drivers/net/bonding
Herbert Xu 7f353bf29e [NET]: Share correct feature code between bridging and bonding
http://bugzilla.kernel.org/show_bug.cgi?id=8797 shows that the
bonding driver may produce bogus combinations of the checksum
flags and SG/TSO.

For example, if you bond devices with NETIF_F_HW_CSUM and
NETIF_F_IP_CSUM you'll end up with a bonding device that
has neither flag set.  If both have TSO then this produces
an illegal combination.

The bridge device on the other hand has the correct code to
deal with this.

In fact, the same code can be used for both.  So this patch
moves that logic into net/core/dev.c and uses it for both
bonding and bridging.

In the process I've made small adjustments such as only
setting GSO_ROBUST if at least one constituent device
supports it.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-08-13 22:52:14 -07:00
..
bond_3ad.c bonding: Fix 802.3ad no carrier on "no partner found" instance 2007-06-20 19:12:41 -04:00
bond_3ad.h
bond_alb.c
bond_alb.h
bond_main.c [NET]: Share correct feature code between bridging and bonding 2007-08-13 22:52:14 -07:00
bond_sysfs.c bonding: Fix use after free in unregister path 2007-06-20 19:12:41 -04:00
bonding.h bonding/bond_main.c: make 2 functions static 2007-07-10 14:31:45 -04:00
Makefile