]> git.ipfire.org Git - thirdparty/util-linux.git/commit
agetty: Process all data from ul_nl_process()
authorStanislav Brabec <sbrabec@suse.cz>
Fri, 10 Oct 2025 11:17:26 +0000 (13:17 +0200)
committerStanislav Brabec <sbrabec@suse.cz>
Fri, 10 Oct 2025 12:21:16 +0000 (14:21 +0200)
commitfa9b5740f67bc64d7b58f9b2fcc4f2883d7dcc91
tree4bc8bf97e1a4372562dc093dfbdbfddbfa7ed1f6
parentdb0efab5c3e13794ae79fcb3db8371e3af510169
agetty: Process all data from ul_nl_process()

However select() normally triggers immediately after a partial read, it does not
happen for netlink socket. It keeps unprocessed data until the next netlink
message appears. It causes raising processing delays.

Always read all data. It also potentially decreases number of issue redraws.

Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
include/netlink.h
term-utils/agetty.c