[Bug 137145] [mbuf] Reference count computing isn't correct when more than one threads call function m_copypacket
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 15 Mar 2025 15:40:10 UTC
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.