]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: cancel netlink calls for detached requests 43014/head
authorLuca Boccassi <luca.boccassi@gmail.com>
Mon, 13 Jul 2026 18:44:58 +0000 (19:44 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 15 Jul 2026 18:21:18 +0000 (19:21 +0100)
commit890dd23c8343cf80e3f483980c8bfb250a3f3645
tree1876a38a0480883ca770cb491985409d7ce53924
parentf65d4e6c4ea6d06aee995d46d7c9c39452859da8
network: cancel netlink calls for detached requests

Store the asynchronous netlink slot in the Request object and release it
when the request is detached. This cancels the pending callback instead of
keeping the request alive until its reply arrives.

Follow-up for 80d62d4f1aa62c03828e4cbe2c2dfb2a19765af8
src/network/networkd-queue.c
src/network/networkd-queue.h
src/network/test-network.c