]> git.proxmox.com Git - ovs.git/commit
flow: fix incorrect padding length checking in ipv6_sanity_check
authorYanqin Wei <Yanqin.Wei@arm.com>
Mon, 2 Sep 2019 08:36:47 +0000 (16:36 +0800)
committerBen Pfaff <blp@ovn.org>
Wed, 25 Sep 2019 22:16:02 +0000 (15:16 -0700)
commit892545b953d23e29da8f556937f7ea66d0e85e28
tree2e7a4e9cba1af0fcae6b436d95f1c0ebcf99b623
parent9e585df1f8678aca2ac79bccb848d1f38523e416
flow: fix incorrect padding length checking in ipv6_sanity_check

The padding length is (packet size - ipv6 header length - ipv6 plen).  This
patch fixes incorrect padding size checking in ipv6_sanity_check.

Acked-by: William Tu <u9012063@gmail.com>
Reviewed-by: Gavin Hu <Gavin.Hu@arm.com>
Signed-off-by: Yanqin Wei <Yanqin.Wei@arm.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/flow.c