linux-hardened/net/bridge
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
..
netfilter [NETFILTER]: Clean up duplicate includes in net/bridge/ 2007-07-24 15:30:30 -07:00
br.c bridge: check kmem_cache_create() error 2007-04-25 22:28:51 -07:00
br_device.c [NET]: Share correct feature code between bridging and bonding 2007-08-13 22:52:14 -07:00
br_fdb.c mm: Remove slab destructors from kmem_cache_create(). 2007-07-20 10:11:58 +09:00
br_forward.c [NET]: Allow forwarding of ip_summed except CHECKSUM_COMPLETE 2007-04-25 22:28:16 -07:00
br_if.c [NET]: Share correct feature code between bridging and bonding 2007-08-13 22:52:14 -07:00
br_input.c net/* misc endianness annotations 2007-07-26 11:11:56 -07:00
br_ioctl.c [NET]: Rework dev_base via list_head (v3) 2007-05-03 15:13:45 -07:00
br_netfilter.c [NETFILTER]: bridge netfilter: consolidate header pushing/pulling code 2007-05-03 03:36:16 -07:00
br_netlink.c [NET]: Rework dev_base via list_head (v3) 2007-05-03 15:13:45 -07:00
br_notify.c bridge: change when netlink events go to STP 2007-04-25 22:28:48 -07:00
br_private.h bridge: check kmem_cache_create() error 2007-04-25 22:28:51 -07:00
br_private_stp.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
br_stp.c [BRIDGE]: Round off STP perodic timers. 2007-05-31 01:23:39 -07:00
br_stp_bpdu.c bridge: add support for user mode STP 2007-04-25 22:28:48 -07:00
br_stp_if.c usermodehelper: Tidy up waiting 2007-07-18 08:47:40 -07:00
br_stp_timer.c [BRIDGE]: Round off STP perodic timers. 2007-05-31 01:23:39 -07:00
br_sysfs_br.c sysfs: add parameter "struct bin_attribute *" in .read/.write methods for sysfs binary attributes 2007-07-11 16:09:09 -07:00
br_sysfs_if.c sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
Kconfig [BRIDGE]: use llc for receiving STP packets 2006-03-20 22:59:06 -08:00
Makefile [BRIDGE]: netlink interface for link management 2006-06-17 21:26:14 -07:00