linux/net/openvswitch
Ben Pfaff a1b5d0dd28 openvswitch: Check gso_type for correct sk_buff in queue_gso_packets().
At the point where it was used, skb_shinfo(skb)->gso_type referred to a
post-GSO sk_buff.  Thus, it would always be 0.  We want to know the pre-GSO
gso_type, so we need to obtain it before segmenting.

Before this change, the kernel would pass inconsistent data to userspace:
packets for UDP fragments with nonzero offset would be passed along with
flow keys that indicate a zero offset (that is, the flow key for "later"
fragments claimed to be "first" fragments).  This inconsistency tended
to confuse Open vSwitch userspace, causing it to log messages about
"failed to flow_del" the flows with "later" fragments.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
2012-07-20 14:47:54 -07:00
..
actions.c openvswitch: Replace Nicira Networks. 2012-05-03 18:55:23 -07:00
datapath.c openvswitch: Check gso_type for correct sk_buff in queue_gso_packets(). 2012-07-20 14:47:54 -07:00
datapath.h openvswitch: Replace Nicira Networks. 2012-05-03 18:55:23 -07:00
dp_notify.c openvswitch: Replace Nicira Networks. 2012-05-03 18:55:23 -07:00
flow.c openvswitch: Replace Nicira Networks. 2012-05-03 18:55:23 -07:00
flow.h openvswitch: Replace Nicira Networks. 2012-05-03 18:55:23 -07:00
Kconfig
Makefile
vport-internal_dev.c openvswitch: Reset upper layer protocol info on internal devices. 2012-05-25 11:29:30 -07:00
vport-internal_dev.h openvswitch: Replace Nicira Networks. 2012-05-03 18:55:23 -07:00
vport-netdev.c openvswitch: Replace Nicira Networks. 2012-05-03 18:55:23 -07:00
vport-netdev.h openvswitch: Replace Nicira Networks. 2012-05-03 18:55:23 -07:00
vport.c openvswitch: Replace Nicira Networks. 2012-05-03 18:55:23 -07:00
vport.h openvswitch: Replace Nicira Networks. 2012-05-03 18:55:23 -07:00