]> err.no Git - linux-2.6/commit
[BRIDGE]: Disable SG/GSO if TX checksum is off
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Aug 2006 01:22:32 +0000 (18:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Aug 2006 01:22:32 +0000 (18:22 -0700)
commit78eb887733ec8ff5d6e6c69e3c32a187a9303622
tree1028d082b0240f04f1b0d8f91b9e2813e329710c
parent8311731afc439f508ab4d759edadedae75afb73e
[BRIDGE]: Disable SG/GSO if TX checksum is off

When the bridge recomputes features, it does not maintain the
constraint that SG/GSO must be off if TX checksum is off.
This patch adds that constraint.

On a completely unrelated note, I've also added TSO6 and TSO_ECN
feature bits if GSO is enabled on the underlying device through
the new NETIF_F_GSO_SOFTWARE macro.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/bridge/br_if.c