summaryrefslogtreecommitdiffstats
path: root/sys/dev/ray/if_ray.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-01-02 18:54:09 +0000
committerjhb <jhb@FreeBSD.org>2001-01-02 18:54:09 +0000
commitdd03284643e3ffd6949a49723f79b49d337e77f6 (patch)
treecceed7e5464b951ef0c37967aa220da4d17423f0 /sys/dev/ray/if_ray.c
parent5920344071d2123f9a1924df18f435b720aa9998 (diff)
downloadFreeBSD-src-dd03284643e3ffd6949a49723f79b49d337e77f6.zip
FreeBSD-src-dd03284643e3ffd6949a49723f79b49d337e77f6.tar.gz
The previous commit wasn't entirely correct. At least one goto to the
out: label in psignal() did not grab sched_lock before trying to release it. Also, the previous version had several cases where it grabbed sched_lock before jumping to out: unneccessarily, so rework this a bit. The runfast: and out: labels must be called with sched_lock released, and the run: label must be called with it held. Appropriate mtx_assert()'s have been added that should catch any bugs that may still be in this code. Noticed by: bde
Diffstat (limited to 'sys/dev/ray/if_ray.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud