[Bug 220076] [patch] [panic] [netgraph] repeatable kernel panic due to a race in ng_iface(4)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 6 11:17:35 UTC 2017


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

Eugene Grosbein <eugen at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #183627|0                           |1
        is obsolete|                            |

--- Comment #8 from Eugene Grosbein <eugen at freebsd.org> ---
Created attachment 184119
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=184119&action=edit
protect ng_iface private data with rmlock

Use reader lock to additionally protect access to ng_iface private data through
`findhook' method to avoid usage of hook being removed by another kernel thread
in parallel.

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


More information about the freebsd-net mailing list