]> err.no Git - linux-2.6/commit
[BRIDGE]: Add support for NETIF_F_HW_CSUM devices
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 18 Jun 2006 05:06:45 +0000 (22:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Jun 2006 05:06:45 +0000 (22:06 -0700)
commit2c6cc0d8539f121c3c75aa3641c19b67e8723379
treedbc8cc8a5b3fd83734dc6b80b614136e663a017e
parent8648b3053bff39a7ee4c711d74268079c928a657
[BRIDGE]: Add support for NETIF_F_HW_CSUM devices

As it is the bridge will only ever declare NETIF_F_IP_CSUM even if all
its constituent devices support NETIF_F_HW_CSUM.  This patch fixes
this by supporting the first one out of NETIF_F_NO_CSUM,
NETIF_F_HW_CSUM, and NETIF_F_IP_CSUM that is supported by all
constituent devices.

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