[ovs-git] [openvswitch/ovs] 51a963: conntrack: Fix 'reverse_nat_packet()' variable dat...

Ben Pfaff noreply at github.com
Tue Sep 24 22:08:58 UTC 2019


  Branch: refs/heads/branch-2.11
  Home:   https://github.com/openvswitch/ovs
  Commit: 51a963faaaca8d9d2b99b5116620e38c53d1f09e
      https://github.com/openvswitch/ovs/commit/51a963faaaca8d9d2b99b5116620e38c53d1f09e
  Author: Darrell Ball <dlu998 at gmail.com>
  Date:   2019-09-24 (Tue, 24 Sep 2019)

  Changed paths:
    M lib/conntrack.c

  Log Message:
  -----------
  conntrack: Fix 'reverse_nat_packet()' variable datatype.

The datatype 'pad' in the function 'reverse_nat_packet()' was incorrectly
declared as 'char' instead of 'uint8_t'. This can affect reverse natting
of icmpX packets with padding > 127 bytes.  At the same time, add some
comments regarding 'extract_l3_ipvX' usage in this function.  Found by
inspection.

Fixes: edd1bef468c0 ("dpdk: Add more ICMP Related NAT support.")
Signed-off-by: Darrell Ball <dlu998 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list