[Bug 234442] libnetgraph race condition

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 9 16:55:14 UTC 2019


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

Mark Johnston <markj at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj at FreeBSD.org

--- Comment #1 from Mark Johnston <markj at FreeBSD.org> ---
Created attachment 200960
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=200960&action=edit
atomically increment gMsgId

The attached patch uses C11 atomics in an attempt to fix the problem.  It even
compiles and appears to generate the intended code with gcc 4.2.

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


More information about the freebsd-net mailing list