]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
After tearing down the interface per-"domain" bits, set the data area
authorbz <bz@FreeBSD.org>
Mon, 6 Jun 2016 22:59:58 +0000 (22:59 +0000)
committerbz <bz@FreeBSD.org>
Mon, 6 Jun 2016 22:59:58 +0000 (22:59 +0000)
commit5365a749e6c7939e1bf00b9733d2b3641609aada
treec2610ba4011b727b27ddeca4f8098322dc82e836
parent87e8d06bb3496ce8cee485108c02ddfba7c046c5
After tearing down the interface per-"domain" bits, set the data area
to NULL to avoid it being mis-treated on a possible re-attach but also
to get a clean NULL pointer derefence in case of errors due to
unexpected race conditions elsewhere in the code, e.g., callouts.

Obtained from: projects/vnet
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
sys/net/if.c