OpenCloudOS-Kernel/net/openvswitch
Jesse Gross d9d59089c4 openvswitch: Move LRO check from transmit to receive.
The check for LRO packets was incorrectly put in the transmit path
instead of on receive.  Since this check is supposed to protect OVS
(and other parts of the system) from packets that it cannot handle
it is obviously not useful on egress.  Therefore, this commit moves
it back to the receive side.

The primary problem that this caused is upcalls to userspace tried
to segment the packet even though no segmentation information is
available.  This would later cause NULL pointer dereferences when
skb_gso_segment() did nothing.

Signed-off-by: Jesse Gross <jesse@nicira.com>
2013-01-21 23:57:26 -08:00
..
Kconfig net: Add Open vSwitch kernel components. 2011-12-03 09:35:17 -08:00
Makefile net: Add Open vSwitch kernel components. 2011-12-03 09:35:17 -08:00
actions.c openvswitch: add skb mark matching and set action 2012-11-26 11:33:18 -08:00
datapath.c openvswitch: add skb mark matching and set action 2012-11-26 11:33:18 -08:00
datapath.h netlink: Rename pid to portid to avoid confusion 2012-09-10 15:30:41 -04:00
dp_notify.c openvswitch: Add support for network namespaces. 2012-08-22 14:48:55 -07:00
flow.c openvswitch: add skb mark matching and set action 2012-11-26 11:33:18 -08:00
flow.h openvswitch: add skb mark matching and set action 2012-11-26 11:33:18 -08:00
vport-internal_dev.c openvswitch: Add support for network namespaces. 2012-08-22 14:48:55 -07:00
vport-internal_dev.h openvswitch: Replace Nicira Networks. 2012-05-03 18:55:23 -07:00
vport-netdev.c openvswitch: Move LRO check from transmit to receive. 2013-01-21 23:57:26 -08:00
vport-netdev.h openvswitch: Use RCU callback when detaching netdevices. 2012-11-28 14:04:34 -08:00
vport.c net: openvswitch: use this_cpu_ptr per-cpu helper 2012-11-16 13:26:20 -08:00
vport.h netlink: Rename pid to portid to avoid confusion 2012-09-10 15:30:41 -04:00