]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: net: improve error handling in passive TFO test
authorYohei Kojima <yk@y-koj.net>
Tue, 13 Jan 2026 14:11:55 +0000 (23:11 +0900)
committerJakub Kicinski <kuba@kernel.org>
Sun, 18 Jan 2026 02:01:26 +0000 (18:01 -0800)
commit342e31254f02041e3b9d4ad573204d53b2f832c9
tree1abe718edfd22b623034e5e225a5dc1910ae661c
parent52b4859730434902731e1cd4ea061d9611398008
selftests: net: improve error handling in passive TFO test

Improve the error handling in passive TFO test to check the return value
from sendto(), and to fail if read() or fprintf() failed.

Signed-off-by: Yohei Kojima <yk@y-koj.net>
Link: https://patch.msgid.link/24707c8133f7095c0e5a94afa69e75c3a80bf6e7.1768312014.git.yk@y-koj.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/tfo.c