Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Mar 2025 15:40:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 137145] [mbuf] Reference count computing isn't correct when more than one threads call function m_copypacket
Message-ID:  <bug-137145-7501-x74RdYyT3o@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-137145-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-137145-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=137145

Konstantin Belousov <kib@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kib@FreeBSD.org

--- Comment #11 from Konstantin Belousov <kib@FreeBSD.org> ---
(In reply to Andriy Gapon from comment #10)
But where does T2 get the pointer to mbuf?  It cannot be T1, since T1 is
executing this code.  It cannot be T3, otherwise it is trivial bug of doing
things in wrong order: refcount must be incremented before handing it to T2.

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


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-137145-7501-x74RdYyT3o>