1
0
Fork 0
remarkable-linux/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
..
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: 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 net: remove version.h includes in net/openvswitch/ 2012-01-17 10:07:58 -05:00
dp_notify.c net: Add Open vSwitch kernel components. 2011-12-03 09:35:17 -08:00
flow.c openvswitch: Add length check when retrieving TCP flags. 2012-04-02 14:28:57 -07:00
flow.h net: Add Open vSwitch kernel components. 2011-12-03 09:35:17 -08:00
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 net: Add Open vSwitch kernel components. 2011-12-03 09:35:17 -08:00
vport-netdev.c net: Add Open vSwitch kernel components. 2011-12-03 09:35:17 -08:00
vport-netdev.h net: Add Open vSwitch kernel components. 2011-12-03 09:35:17 -08:00
vport.c net: remove version.h includes in net/openvswitch/ 2012-01-17 10:07:58 -05:00
vport.h net: Add Open vSwitch kernel components. 2011-12-03 09:35:17 -08:00