HomeFreeBSD

Unprotected modification of ng_iface(4) private data leads to kernel panic.

Description

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: avg (mentor), mav (mentor)
MFC after: 1 week
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D12435

Details

Provenance
eugenAuthored on
Differential Revision
D12435: Protect ng_iface(4) private data
Parents
rS323872: MF10: r323870, MFC: r275751
Branches
Unknown
Tags
Unknown