summaryrefslogtreecommitdiff
path: root/sys/dev/etherswitch/e6000sw
diff options
context:
space:
mode:
authorZbigniew Bodek <zbb@FreeBSD.org>2017-05-17 15:59:45 +0000
committerZbigniew Bodek <zbb@FreeBSD.org>2017-05-17 15:59:45 +0000
commit9c06c1c42a4ad110e2556c5c1d3e7a3a3bf68e90 (patch)
treed2b910ea84ce45fdcf2eae75fc9e8330d7744593 /sys/dev/etherswitch/e6000sw
parent7118192a7270706a111b04f87b48a096c1a8e1bb (diff)
Notes
Diffstat (limited to 'sys/dev/etherswitch/e6000sw')
-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 1e31346a3437..cfc20dbbf5f2 100644
--- a/sys/dev/etherswitch/e6000sw/e6000sw.c
+++ b/sys/dev/etherswitch/e6000sw/e6000sw.c
@@ -425,6 +425,7 @@ e6000sw_attach(device_t dev)
return (0);
out_fail:
+ E6000SW_UNLOCK(sc);
e6000sw_detach(dev);
return (err);