aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFlorian Westphal <[email protected]>2022-09-06 17:20:35 +0200
committerFlorian Westphal <[email protected]>2022-09-07 16:46:04 +0200
commitc92c27171040554cfda7a3fc925e9dbcb5b4a698 (patch)
tree59d7fc3e6dbecbee86cb99add3454a1f999f5047 /tools/perf/scripts/python
parent8556bceb9c409946eebd2303d2f19e87844195ae (diff)
netfilter: nat: move repetitive nat port reserve loop to a helper
Almost all nat helpers reserve an expecation port the same way: Try the port inidcated by the peer, then move to next port if that port is already in use. We can squash this into a helper. Suggested-by: Pablo Neira Ayuso <[email protected]> Signed-off-by: Florian Westphal <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions