kernel_optimize_test/net/bridge
Herbert Xu 576a30eb64 [NET]: Added GSO header verification
When GSO packets come from an untrusted source (e.g., a Xen guest domain),
we need to verify the header integrity before passing it to the hardware.

Since the first step in GSO is to verify the header, we can reuse that
code by adding a new bit to gso_type: SKB_GSO_DODGY.  Packets with this
bit set can only be fed directly to devices with the corresponding bit
NETIF_F_GSO_ROBUST.  If the device doesn't have that bit, then the skb
is fed to the GSO engine which will allow the packet to be sent to the
hardware if it passes the header check.

This patch changes the sg flag to a full features flag.  The same method
can be used to implement TSO ECN support.  We simply have to mark packets
with CWR set with SKB_GSO_ECN so that only hardware with a corresponding
NETIF_F_TSO_ECN can accept them.  The GSO engine can either fully segment
the packet, or segment the first MTU and pass the rest to the hardware for
further segmentation.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-06-29 16:57:53 -07:00
..
netfilter [NETFILTER]: fix format specifier for netfilter log targets 2006-05-19 02:15:47 -07:00
br_device.c [NET]: Added GSO header verification 2006-06-29 16:57:53 -07:00
br_fdb.c [BRIDGE]: forwarding remove unneeded preempt and bh diasables 2006-03-20 22:58:36 -08:00
br_forward.c [NET]: Merge TSO/UFO fields in sk_buff 2006-06-23 02:07:29 -07:00
br_if.c [NET]: Added GSO header verification 2006-06-29 16:57:53 -07:00
br_input.c [BRIDGE]: keep track of received multicast packets 2006-05-05 17:07:13 -07:00
br_ioctl.c [PATCH] capable/capability.h (net/) 2006-01-11 18:42:14 -08:00
br_netfilter.c [NET]: Merge TSO/UFO fields in sk_buff 2006-06-23 02:07:29 -07:00
br_netlink.c [BRIDGE]: netlink interface for link management 2006-06-17 21:26:14 -07:00
br_notify.c [BRIDGE]: netlink interface for link management 2006-06-17 21:26:14 -07:00
br_private_stp.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
br_private.h [BRIDGE]: netlink interface for link management 2006-06-17 21:26:14 -07:00
br_stp_bpdu.c [BRIDGE]: Unaligned accesses in the ethernet bridge 2006-03-24 15:44:57 -08:00
br_stp_if.c [BRIDGE]: netlink interface for link management 2006-06-17 21:26:14 -07:00
br_stp_timer.c [BRIDGE]: use setup_timer 2006-03-20 22:56:38 -08:00
br_stp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
br_sysfs_br.c [BRIDGE]: allow show/store of group multicast address 2006-03-20 22:59:21 -08:00
br_sysfs_if.c [BRIDGE]: fix error handling for add interface to bridge 2006-02-09 17:10:12 -08:00
br.c [BRIDGE]: netlink interface for link management 2006-06-17 21:26:14 -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