[ovs-dev] [patch v2] conntrack: Fix 'reverse_nat_packet()' variable datatype.

Ben Pfaff blp at ovn.org
Tue Sep 24 20:35:01 UTC 2019


On Fri, Aug 30, 2019 at 09:13:19AM -0700, Darrell Ball wrote:
> 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>

Applied to master and backported as far as branch-2.8.


More information about the dev mailing list