remarkable-linux/net/bridge
Herbert Xu 35fc92a9de [NET]: Allow forwarding of ip_summed except CHECKSUM_COMPLETE
Right now Xen has a horrible hack that lets it forward packets with
partial checksums.  One of the reasons that CHECKSUM_PARTIAL and
CHECKSUM_COMPLETE were added is so that we can get rid of this hack
(where it creates two extra bits in the skbuff to essentially mirror
ip_summed without being destroyed by the forwarding code).

I had forgotten that I've already gone through all the deivce drivers
last time around to make sure that they're looking at ip_summed ==
CHECKSUM_PARTIAL rather than ip_summed != 0 on transmit.  In any case,
I've now done that again so it should definitely be safe.

Unfortunately nobody has yet added any code to update CHECKSUM_COMPLETE
values on forward so we I'm setting that to CHECKSUM_NONE.  This should
be safe to remove for bridging but I'd like to check that code path
first.

So here is the patch that lets us get rid of the hack by preserving
ip_summed (mostly) on forwarded packets.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-04-25 22:28:16 -07:00
..
netfilter [NETFILTER]: Use setup_timer 2007-04-25 22:27:43 -07:00
br.c [BRIDGE]: Use rtnl registration interface 2007-04-25 22:27:14 -07:00
br_device.c [SK_BUFF]: Introduce skb_reset_mac_header(skb) 2007-04-25 22:24:32 -07:00
br_fdb.c [BRIDGE]: Fix fdb RCU race 2007-03-22 12:25:20 -07:00
br_forward.c [NET]: Allow forwarding of ip_summed except CHECKSUM_COMPLETE 2007-04-25 22:28:16 -07:00
br_if.c [BRIDGE]: adding new device to bridge should enable if up 2007-03-07 16:10:53 -08:00
br_input.c [BRIDGE]: faster compare for link local addresses 2007-04-25 22:25:11 -07:00
br_ioctl.c [BRIDGE]: Fix locking of set path cost. 2007-02-28 09:42:12 -08:00
br_netfilter.c [SK_BUFF]: unions of just one member don't get anything done, kill them 2007-04-25 22:26:20 -07:00
br_netlink.c [BRIDGE]: Use rtnl registration interface 2007-04-25 22:27:14 -07:00
br_notify.c [BRIDGE]: eliminate workqueue for carrier check 2007-02-26 11:42:59 -08:00
br_private.h [BRIDGE]: Use rtnl registration interface 2007-04-25 22:27:14 -07:00
br_private_stp.h
br_stp.c [NET] BRIDGE: Fix whitespace errors. 2007-02-10 23:19:23 -08:00
br_stp_bpdu.c [NET] BRIDGE: Fix whitespace errors. 2007-02-10 23:19:23 -08:00
br_stp_if.c [BRIDGE]: Unaligned access when comparing ethernet addresses 2007-04-17 14:16:00 -07:00
br_stp_timer.c [NET] BRIDGE: Fix whitespace errors. 2007-02-10 23:19:23 -08:00
br_sysfs_br.c [NET] BRIDGE: Fix whitespace errors. 2007-02-10 23:19:23 -08:00
br_sysfs_if.c Network: convert network devices to use struct device instead of class_device 2007-02-07 10:37:11 -08:00
Kconfig
Makefile