linux/net/openvswitch
Thomas Graf 1ba398041f openvswitch: packet messages need their own probe attribtue
User space is currently sending a OVS_FLOW_ATTR_PROBE for both flow
and packet messages. This leads to an out-of-bounds access in
ovs_packet_cmd_execute() because OVS_FLOW_ATTR_PROBE >
OVS_PACKET_ATTR_MAX.

Introduce a new OVS_PACKET_ATTR_PROBE with the same numeric value
as OVS_FLOW_ATTR_PROBE to grow the range of accepted packet attributes
while maintaining to be binary compatible with existing OVS binaries.

Fixes: 05da589 ("openvswitch: Add support for OVS_FLOW_ATTR_PROBE.")
Reported-by: Sander Eikelenboom <linux@eikelenboom.it>
Tracked-down-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Reviewed-by: Jesse Gross <jesse@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-01-14 16:49:44 -05:00
..
Kconfig
Makefile
actions.c openvswitch: Fix GSO with multiple MPLS label. 2014-12-23 23:57:31 -05:00
datapath.c openvswitch: packet messages need their own probe attribtue 2015-01-14 16:49:44 -05:00
datapath.h
dp_notify.c
flow.c openvswitch: Consistently include VLAN header in flow and port stats. 2015-01-02 16:14:20 -05:00
flow.h
flow_netlink.c openvswitch: Fix MPLS action validation. 2014-12-23 23:57:31 -05:00
flow_netlink.h
flow_table.c net: replace remaining users of arch_fast_hash with jhash 2014-12-10 15:17:45 -05:00
flow_table.h
vport-geneve.c openvswitch: Fix vport_send double free 2014-12-23 23:57:31 -05:00
vport-gre.c openvswitch: fix odd_ptr_err.cocci warnings 2014-12-24 15:18:09 -05:00
vport-internal_dev.c
vport-internal_dev.h
vport-netdev.c
vport-netdev.h
vport-vxlan.c openvswitch: Fix vport_send double free 2014-12-23 23:57:31 -05:00
vport.c openvswitch: Consistently include VLAN header in flow and port stats. 2015-01-02 16:14:20 -05:00
vport.h