HomeFreeBSD

linux: Fix a mistake in commit fb58045145

Description

linux: Fix a mistake in commit fb58045145

The change to futex_andl_smap() should have ordered stac before the
load from a user address, otherwise it does not fix anything.

Fixes: fb58045145 ("linux: Fix SMAP-enabled futex routines")
MFC after: 1 week
Sponsored by: The FreeBSD Foundation

Details

Provenance
markjAuthored on May 17 2021, 2:17 AM
Parents
rG5b81e2e1bcdc: virtio_scsi: Zero stack-allocated CCBs
Branches
Unknown
Tags
Unknown