Florian Westphal adda60cc2b netfilter: nat: avoid long-running port range loop
Looping a large port range takes too long. Instead select a random
offset within [ntohs(exp->saved_proto.tcp.port), 65535] and try 128
ports.

This is a rehash of an erlier patch to do the same, but generalized
to handle other helpers as well.

Link: https://patchwork.ozlabs.org/project/netfilter-devel/patch/20210920204439.13179-2-Cole.Dishington@alliedtelesis.co.nz/
Signed-off-by: Florian Westphal <fw@strlen.de>
2022-09-07 16:46:04 +02:00
..
2022-08-08 20:04:35 -07:00
2022-02-25 09:36:06 +01:00
2022-09-04 11:24:34 +01:00
2022-05-25 12:22:58 -07:00
2022-08-22 11:40:01 -07:00
2022-09-04 11:24:34 +01:00
2022-08-22 14:26:30 +01:00
2022-08-22 14:26:30 +01:00