HomeFreeBSD

MFC r323873, r324081: Unprotected modification of ng_iface(4)

Description

MFC r323873, r324081: Unprotected modification of ng_iface(4)
private data leads to kernel panic. Fix a race with per-node
read-mostly lock and refcounting for a hook.

PR: 220076
Tested by: peixoto.cassiano
Approved by: mav (mentor)
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D12435

Details

Provenance
eugenAuthored on
Differential Revision
D12435: Protect ng_iface(4) private data
Parents
rS324174: Fix supposed typo in the include guard symbol name, use full path for
Branches
Unknown
Tags
Unknown