[Bug 137145] [mbuf] Reference count computing isn't correct when more than one threads call function m_copypacket
| Newsgroups | gmane.os.freebsd.devel.net |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=137145 Konstantin Belousov <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #11 from Konstantin Belousov <[email protected]> --- (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.