tmp_suning_uos_patched/net/openvswitch
Jesse Gross bf32fecdc1 openvswitch: Add length check when retrieving TCP flags.
When collecting TCP flags we check that the IP header indicates that
a TCP header is present but not that the packet is actually long
enough to contain the header.  This adds a check to prevent reading
off the end of the packet.

In practice, this is only likely to result in reading of bad data and
not a crash due to the presence of struct skb_shared_info at the end
of the packet.

Signed-off-by: Jesse Gross <jesse@nicira.com>
2012-04-02 14:28:57 -07:00
..
actions.c openvswitch: Fix checksum update for actions on UDP packets. 2012-03-07 14:36:57 -08:00
datapath.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
datapath.h
dp_notify.c
flow.c openvswitch: Add length check when retrieving TCP flags. 2012-04-02 14:28:57 -07:00
flow.h
Kconfig
Makefile
vport-internal_dev.c net: use eth_hw_addr_random() and reset addr_assign_type 2012-02-15 15:34:17 -05:00
vport-internal_dev.h
vport-netdev.c
vport-netdev.h
vport.c
vport.h