[Bug 289240] sys/netlink/netlink_socket:overflow testcase fails on arm64 in CI

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 11 May 2026 19:27:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289240

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj@FreeBSD.org
             Status|New                         |Open

--- Comment #2 from Mark Johnston <markj@FreeBSD.org> ---
I'm seeing this failure too.  The problem is that the recv buffer ends up with
sb_ccc > sb_hiwat, and the last recv from the test does not consume enough
bytes to bring sb_ccc below hiwat, so nl_process_received_one() does not
process anything in the snd buffer.

I'm not sure if it's a kernel bug or not.  The test could just read from the
socket until FIONREAD reports that the number of available bytes is small
enough, but I have no idea how this stuff is supposed to work.  It would be
nice to fix this though..

-- 
You are receiving this mail because:
You are on the CC list for the bug.