summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorHidetoshi Shimokawa <simokawa@FreeBSD.org>2004-09-06 20:42:34 +0000
committerHidetoshi Shimokawa <simokawa@FreeBSD.org>2004-09-06 20:42:34 +0000
commite794746d65c7b2e1f485d96b940ffe01bca55f14 (patch)
treef05ed9851b42414ce5dd5e141fabc5c503496355 /sys/dev
parentb52b98d62773a6fe6dd0bbc391aac73c77e6675d (diff)
Notes
Diffstat (limited to 'sys/dev')
-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 89b9631d828c..df40877b849f 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);