summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2004-09-06 20:42:34 +0000
committersimokawa <simokawa@FreeBSD.org>2004-09-06 20:42:34 +0000
commitba7370a4c37d36b21af0be60735f563076ad9772 (patch)
treef05ed9851b42414ce5dd5e141fabc5c503496355 /sys/dev/firewire
parent97fb6113f07d22d988d02f1c2b3a151847ffe1e3 (diff)
downloadFreeBSD-src-ba7370a4c37d36b21af0be60735f563076ad9772.zip
FreeBSD-src-ba7370a4c37d36b21af0be60735f563076ad9772.tar.gz
Add a missing splx().
Diffstat (limited to 'sys/dev/firewire')
-rw-r--r--sys/dev/firewire/sbp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/firewire/sbp.c b/sys/dev/firewire/sbp.c
index 89b9631..df40877 100644
--- a/sys/dev/firewire/sbp.c
+++ b/sys/dev/firewire/sbp.c
@@ -2787,6 +2787,7 @@ sbp_get_ocb(struct sbp_dev *sdev)
if (ocb == NULL) {
sdev->flags |= ORB_SHORTAGE;
printf("ocb shortage!!!\n");
+ splx(s);
return NULL;
}
STAILQ_REMOVE_HEAD(&sdev->free_ocbs, ocb);
OpenPOWER on IntegriCloud