]> git.ipfire.org Git - thirdparty/bind9.git/commit
Make isc_nm_proxyudplistener into its own type
authorAlessio Podda <alessio@isc.org>
Tue, 28 Jul 2026 13:08:56 +0000 (15:08 +0200)
committerAlessio Podda <alessio@isc.org>
Wed, 12 Aug 2026 12:12:45 +0000 (14:12 +0200)
commitd52e780935e2eb2703b65ae828d63ea8c1bcdfee
treefbd5ecd6aacaae4bbbbfc1c3cb4091316c1a1d6b
parent87f51862fb043b54dda94b4de817d5cd2699be2a
Make isc_nm_proxyudplistener into its own type

Keeping isc_nm_proxyudplistener as an instance of socket means that
proxyudp users would be slowed down by contention on high core count
machines.
It also leads to awkward code as you have an isc_nm_socket_t wrapping
a non-socket which itself wraps more isc_nm_socket_t.

With this commit, we apply the same change we did for isc_nm_udplistener
to isc_nm_proxyudplistener.
lib/isc/include/isc/netmgr.h
lib/isc/include/isc/types.h
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/netmgr.c
lib/isc/netmgr/proxyudp.c
lib/isc/netmgr/udp.c
lib/ns/client.c
lib/ns/include/ns/interfacemgr.h
lib/ns/interfacemgr.c
tests/isc/netmgr_common.c
tests/isc/netmgr_common.h