aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2025-04-25 18:38:20 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2025-04-27 18:04:39 +0000
commitaf298663e9ff77e3a03da10d89d89e73a69a9ea7 (patch)
tree1202feac7f04c39a8aa83bcb123863521e5816e6 /sys/dev
parentbca86850737c981c482e76644422e8b9eec6093c (diff)
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/etherswitch/e6000sw/e6000sw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/etherswitch/e6000sw/e6000sw.c b/sys/dev/etherswitch/e6000sw/e6000sw.c
index 59ac05d99ae3..85900cebc303 100644
--- a/sys/dev/etherswitch/e6000sw/e6000sw.c
+++ b/sys/dev/etherswitch/e6000sw/e6000sw.c
@@ -650,6 +650,7 @@ e6000sw_attach(device_t dev)
return (0);
out_fail:
+ E6000SW_UNLOCK(sc);
e6000sw_detach(dev);
return (err);