linux/net/openvswitch
Paolo Abeni 4e81c0b3fa openvswitch: fix flow command message size
When user-space sets the OVS_UFID_F_OMIT_* flags, and the relevant
flow has no UFID, we can exceed the computed size, as
ovs_nla_put_identifier() will always dump an OVS_FLOW_ATTR_KEY
attribute.
Take the above in account when computing the flow command message
size.

Fixes: 74ed7ab926 ("openvswitch: Add support for unique flow IDs.")
Reported-by: Qi Jun Ding <qding@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-11-26 15:13:46 -08:00
..
Kconfig
Makefile
actions.c Change in Openvswitch to support MPLS label depth of 3 in ingress direction 2019-11-05 18:02:29 -08:00
conntrack.c openvswitch: Allow attaching helper in later commit 2019-10-06 15:23:43 +02:00
conntrack.h
datapath.c openvswitch: fix flow command message size 2019-11-26 15:13:46 -08:00
datapath.h net: openvswitch: add hash info to upcall 2019-11-14 17:29:46 -08:00
dp_notify.c
flow.c Change in Openvswitch to support MPLS label depth of 3 in ingress direction 2019-11-05 18:02:29 -08:00
flow.h Change in Openvswitch to support MPLS label depth of 3 in ingress direction 2019-11-05 18:02:29 -08:00
flow_netlink.c Change in Openvswitch to support MPLS label depth of 3 in ingress direction 2019-11-05 18:02:29 -08:00
flow_netlink.h
flow_table.c net: openvswitch: fix possible memleak on destroy flow-table 2019-11-03 17:18:03 -08:00
flow_table.h net: openvswitch: convert mask list in mask array 2019-11-03 17:18:03 -08:00
meter.c
meter.h
vport-geneve.c
vport-gre.c
vport-internal_dev.c net: openvswitch: free vport unless register_netdevice() succeeds 2019-10-22 14:45:08 -07:00
vport-internal_dev.h
vport-netdev.c
vport-netdev.h
vport-vxlan.c
vport.c net: openvswitch: select vport upcall portid directly 2019-11-06 21:25:19 -08:00
vport.h