HomeFreeBSD

Fix r361037.

Description

Fix r361037.

Reorder flag manipulations and use barrier to ensure that the program
order is followed by compiler and CPU, for unlocked reader of so_state.

In collaboration with: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D24842

Details

Provenance
kibAuthored on
Differential Revision
D24842: Fix r361037.
Parents
rS361055: MFC r360398: iflib: Stop interface before (un)registering VLAN
Branches
Unknown
Tags
Unknown