diff options
author | Ilya Maximets <i.maximets@ovn.org> | 2020-06-11 11:25:52 +0200 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2020-07-07 00:11:49 +0200 |
commit | 32697d4f6497c283a02e65e9c4515fc3183a55f6 (patch) | |
tree | be1f5d194adaa7964327655b08f9da1be578e972 /ovsdb/monitor.c | |
parent | edd04838c61c61f0156400c36bcdf06c746481b0 (diff) | |
download | openvswitch-32697d4f6497c283a02e65e9c4515fc3183a55f6.tar.gz |
odp-execute: Fix length checking while executing check_pkt_len action.
If dp-packet contains l2 padding or cutlen was applied to it, size will
be larger than the actual size of a payload and action will work
incorrectly.
Ex. Padding could be added during miniflow_extract() if detected.
Fixes: 5b34f8fc3b38 ("Add a new OVS action check_pkt_larger")
Reported-by: Miroslav Kubiczek <miroslav.kubiczek@adaptivemobile.com>
Reported-at: https://mail.openvswitch.org/pipermail/ovs-discuss/2020-May/050157.html
Acked-by: Dumitru Ceara <dceara@redhat.com>
Acked-by: Flavio Leitner <fbl@sysclose.org>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'ovsdb/monitor.c')
0 files changed, 0 insertions, 0 deletions