aboutgitcodebugslistschat
path: root/conf.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2024-02-12 17:06:58 +1100
committerStefano Brivio <sbrivio@redhat.com>2024-02-14 03:24:23 +0100
commit927cb84fffed22dc3906baa33111f918bd1a622a (patch)
treef72f18cc5f38dd9538079235c167fbcafb251a96 /conf.c
parent96ad5c5acdde30c43066d6d7fa846d9a2a47fb8f (diff)
downloadpasst-927cb84fffed22dc3906baa33111f918bd1a622a.tar
passt-927cb84fffed22dc3906baa33111f918bd1a622a.tar.gz
passt-927cb84fffed22dc3906baa33111f918bd1a622a.tar.bz2
passt-927cb84fffed22dc3906baa33111f918bd1a622a.tar.lz
passt-927cb84fffed22dc3906baa33111f918bd1a622a.tar.xz
passt-927cb84fffed22dc3906baa33111f918bd1a622a.tar.zst
passt-927cb84fffed22dc3906baa33111f918bd1a622a.zip
udp: udp_sock_init_ns() partially duplicats udp_port_rebind_outbound()
Usually automatically forwarded UDP outbound ports are set up by udp_port_rebind_outbound() called from udp_timer(). However, the very first time they're created and bound is by udp_sock_init_ns() called from udp_init(). udp_sock_init_ns() is essentially an unnecessary cut down version of udp_port_rebind_outbound(), so we can jusat remove it. Doing so does require moving udp_init() below udp_port_rebind_outbound()'s definition. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'conf.c')
0 files changed, 0 insertions, 0 deletions