Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Jan 2019 16:55:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 234442] libnetgraph race condition
Message-ID:  <bug-234442-7501-fuknzg74AQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234442-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234442-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=3D234442

Mark Johnston <markj@FreeBSD.org> changed:

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

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

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

--=20
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-234442-7501-fuknzg74AQ>