diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2025-10-31 15:19:26 +1100 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-11-01 00:23:00 +0100 |
| commit | 1754f61e9ac81c051b5c165059a549a3e9156dfc (patch) | |
| tree | b3d333d6db77b079778da0d8fd83280c1ff879f6 /test/lib/git: | |
| parent | 1bc7d5485c103497643ce681b1c30133cba6dd19 (diff) | |
| download | passt-1754f61e9ac81c051b5c165059a549a3e9156dfc.tar passt-1754f61e9ac81c051b5c165059a549a3e9156dfc.tar.gz passt-1754f61e9ac81c051b5c165059a549a3e9156dfc.tar.bz2 passt-1754f61e9ac81c051b5c165059a549a3e9156dfc.tar.lz passt-1754f61e9ac81c051b5c165059a549a3e9156dfc.tar.xz passt-1754f61e9ac81c051b5c165059a549a3e9156dfc.tar.zst passt-1754f61e9ac81c051b5c165059a549a3e9156dfc.zip | |
fwd: Move port exclusion handling from procfs_scan_listen() to callers
To avoid forwarding loops, we need to exclude certain ports from being
auto-forwarded. To accomplish this, procfs_scan_listen() takes a bitmap
of exclusions. As it detects each port, it checks against that bitmap.
This is a complicated way of accomplishing what we need. We can instead
mask out the excluded ports in the callers using a new bitmap_and_not()
helper.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib/git:')
0 files changed, 0 insertions, 0 deletions
