Re: git: c7523e8cfbd0 - main - tcp: fix incorrect assertion

From: Gleb Smirnoff <glebius_at_freebsd.org>
Date: Thu, 22 Oct 2026 15:12:07 UTC
On Thu, Oct 22, 2026 at 01:40:51PM +0000, Kristof Provost wrote:
K> The branch main has been updated by kp:
K> 
K> URL: https://cgit.FreeBSD.org/src/commit/?id=c7523e8cfbd0fa8f8a9dc6c8864bf138b7cffde8
K> 
K> commit c7523e8cfbd0fa8f8a9dc6c8864bf138b7cffde8
K> Author:     Kristof Provost <kp@FreeBSD.org>
K> AuthorDate: 2026-10-22 13:38:31 +0000
K> Commit:     Kristof Provost <kp@FreeBSD.org>
K> CommitDate: 2026-10-22 13:40:29 +0000
K> 
K>     tcp: fix incorrect assertion
K>     
K>     tcp_autosndbuf() asserts that the buffer is locked, but it should assert
K>     this about the send buffer, not the receive buffer.
K>     
K>     Fixes:          7146ad04f18e ("tcp: refactor tcp_autosndbuf() and associated sysctls")
K>     Reviewed by:    tuexen
K>     Sponsored by:   Rubicon Communications, LLC ("Netgate")

Oh, sorry and thanks!  Thanks for prompt fixing!

The patches were cherry-picked from a larger branch that was tested just
altogether.  This is how it slipped through. Sorry :(

-- 
Gleb Smirnoff