aboutgitcodebugslistschat
path: root/doc
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2026-03-11 23:03:08 +1100
committerStefano Brivio <sbrivio@redhat.com>2026-03-11 22:11:30 +0100
commit4fa0076956fc87146b530e27f1129acfaed70025 (patch)
tree3feb72564b932a91290bc7c7c9c9b4da4df1d3bb /doc
parentd2438efb69558877a0b306247dbcba5ecbd5b794 (diff)
downloadpasst-4fa0076956fc87146b530e27f1129acfaed70025.tar
passt-4fa0076956fc87146b530e27f1129acfaed70025.tar.gz
passt-4fa0076956fc87146b530e27f1129acfaed70025.tar.bz2
passt-4fa0076956fc87146b530e27f1129acfaed70025.tar.lz
passt-4fa0076956fc87146b530e27f1129acfaed70025.tar.xz
passt-4fa0076956fc87146b530e27f1129acfaed70025.tar.zst
passt-4fa0076956fc87146b530e27f1129acfaed70025.zip
fwd: Don't initialise unused port bitmaps
Since b223bec48213 ("fwd, tcp, udp: Set up listening sockets based on forward table"), the 'map' field of struct fwd_ports has only been used for forwarding rules with the FWD_SCAN bit, where it is initialised from a port scan. However, we still pointlessly initialise it for rules with !FWD_SCAN. Remove the unneeded code. Fixes: b223bec48213 ("fwd, tcp, udp: Set up listening sockets based on forward table") Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions