diff options
| author | Paolo Abeni <[email protected]> | 2019-11-26 11:55:50 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-11-26 23:13:46 +0000 |
| commit | 4e81c0b3fa93d07653e2415fa71656b080a112fd (patch) | |
| tree | 1ec4b3747d7bc94a73119ceb24b77d3698efe2c7 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | net: phy: dp83869: Fix return paths to return proper values (diff) | |
| download | kernel-4e81c0b3fa93d07653e2415fa71656b080a112fd.tar.gz kernel-4e81c0b3fa93d07653e2415fa71656b080a112fd.zip | |
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: 74ed7ab9264c ("openvswitch: Add support for unique flow IDs.")
Reported-by: Qi Jun Ding <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
