[ovs-git] [openvswitch/ovs] ac92cd: odp-execute: Fix length checking while executing c...

Ilya Maximets noreply at github.com
Mon Jul 6 23:52:41 UTC 2020


  Branch: refs/heads/branch-2.13
  Home:   https://github.com/openvswitch/ovs
  Commit: ac92cdbc4d39c268bd7d2cf009ce327b38a35adf
      https://github.com/openvswitch/ovs/commit/ac92cdbc4d39c268bd7d2cf009ce327b38a35adf
  Author: Ilya Maximets <i.maximets at ovn.org>
  Date:   2020-07-07 (Tue, 07 Jul 2020)

  Changed paths:
    M lib/odp-execute.c

  Log Message:
  -----------
  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 at adaptivemobile.com>
Reported-at: https://mail.openvswitch.org/pipermail/ovs-discuss/2020-May/050157.html
Acked-by: Dumitru Ceara <dceara at redhat.com>
Acked-by: Flavio Leitner <fbl at sysclose.org>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>




More information about the git mailing list