[Bug 218687] use uninitialized fields of struct inpcb

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 28 Oct 2024 19:30:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218687

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Overcome By Events
             Status|New                         |Closed
                 CC|                            |markj@FreeBSD.org

--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
Sorry that this patch didn't get any attention before.

The inp_rtu field is gone now.  The inpcb lock is initialized in the zone
initializer, where memory is guaranteed to be zeroed by UMA.  So, this patch
isn't needed today.

We now have KMSAN, which helps catch such bugs very easily.

-- 
You are receiving this mail because:
You are the assignee for the bug.