[ovs-git] [openvswitch/ovs] 1cbe92: dp-packet: Add 'dp_packet_l3_size()'.
Ben Pfaff
noreply at github.com
Wed Feb 13 16:48:08 UTC 2019
Branch: refs/heads/branch-2.11
Home: https://github.com/openvswitch/ovs
Commit: 1cbe9250ba6f0dce9a40893867f6d3ed39884d7f
https://github.com/openvswitch/ovs/commit/1cbe9250ba6f0dce9a40893867f6d3ed39884d7f
Author: Darrell Ball <dlu998 at gmail.com>
Date: 2019-02-13 (Wed, 13 Feb 2019)
Changed paths:
M lib/dp-packet.h
Log Message:
-----------
dp-packet: Add 'dp_packet_l3_size()'.
The new api will be used in a subsequent patch.
Signed-off-by: Darrell Ball <dlu998 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Commit: b04b09f8179c5ed46c1645f0fe59440cd971cbe8
https://github.com/openvswitch/ovs/commit/b04b09f8179c5ed46c1645f0fe59440cd971cbe8
Author: Darrell Ball <dlu998 at gmail.com>
Date: 2019-02-13 (Wed, 13 Feb 2019)
Changed paths:
M lib/conntrack.c
Log Message:
-----------
conntrack: Exclude l2 padding in 'conn_key_extract()'.
'conn_key_extract()' in userspace conntrack is including L2
(Ethernet) pad bytes for both L3 and L4 sizes. One problem is
any packet with non-zero L2 padding can incorrectly fail L4
checksum validation.
This patch fixes conn_key_extract() by ignoring L2 pad bytes.
Fixes: a489b16854b5 ("conntrack: New userspace connection tracker.")
CC: Daniele Di Proietto <diproiettod at ovn.org>
Co-authored-by: Vishal Deep Ajmera <vishal.deep.ajmera at ericsson.com>
Co-authored-by: Venkatesan Pradeep <venkatesan.pradeep at ericsson.com>
Co-authored-by: Nitin Katiyar <nitin.katiyar at ericsson.com>
Signed-off-by: Vishal Deep Ajmera <vishal.deep.ajmera at ericsson.com>
Signed-off-by: Venkatesan Pradeep <venkatesan.pradeep at ericsson.com>
Signed-off-by: Nitin Katiyar <nitin.katiyar at ericsson.com>
Signed-off-by: Darrell Ball <dlu998 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Compare: https://github.com/openvswitch/ovs/compare/c3e465688c3c...b04b09f8179c
More information about the git
mailing list