[ovs-git] [openvswitch/ovs] 3eec7f: pcap-file: Fix calculation of TCP payload length i...
Ben Pfaff
noreply at github.com
Tue Feb 2 18:00:04 UTC 2021
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 3eec7fb07549ed97adbbcb2f0cf63c63c3c22095
https://github.com/openvswitch/ovs/commit/3eec7fb07549ed97adbbcb2f0cf63c63c3c22095
Author: Ben Pfaff <blp at ovn.org>
Date: 2021-02-02 (Tue, 02 Feb 2021)
Changed paths:
M lib/conntrack-private.h
M lib/conntrack-tcp.c
M lib/conntrack.c
M lib/dp-packet.h
M lib/pcap-file.c
Log Message:
-----------
pcap-file: Fix calculation of TCP payload length in tcp_reader_run().
The calculation in tcp_reader_run() failed to account for L2 padding.
This fixes the problem, by moving the existing function
tcp_payload_length() from a conntrack private header file into
dp-packet.h and renaming it to suit the dp_packet style.
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Ilya Maximets <i.maximets at ovn.org>
More information about the git
mailing list