From: wenxu <[email protected]>

First one:
choose the origin select sport as current sport for each port search round
with new address, in the most of the snat case the sport did't need to modified

second one:
The sport nat range for well-konwn origin sport should limit in the
well-known ports.

last one:
Add limit port clash resolution attempts to avoid infinite lookup the ct table
and waste the cpu. 

v4: add the second patch. For the third patch make total attempts under 248 for
many ip range case
v5: rebase to the upstream
 
wenxu (3):
  conntrack: restore the origin sport for each round with new address
  conntrack: select correct sport range for well-known origin sport
  conntrack: limit port clash resolution attempts

 lib/conntrack.c | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 57 insertions(+), 8 deletions(-)

-- 
1.8.3.1

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to