]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r323873, r324081: Unprotected modification of ng_iface(4)
authoreugen <eugen@FreeBSD.org>
Sun, 1 Oct 2017 19:39:27 +0000 (19:39 +0000)
committereugen <eugen@FreeBSD.org>
Sun, 1 Oct 2017 19:39:27 +0000 (19:39 +0000)
commit5c3b5a223da269a91b20184952ba2034e79368c2
tree441e786ed04c3e4dcd90a53a4edcc137b7250cc5
parente877a47623bdefc946254d5f2cb02c282c43a6a7
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
sys/netgraph/ng_iface.c