Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F97333484
D36117.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
685 B
Referenced Files
None
Subscribers
None
D36117.diff
View Options
diff --git a/sys/dev/etherswitch/e6000sw/e6000sw.c b/sys/dev/etherswitch/e6000sw/e6000sw.c
--- a/sys/dev/etherswitch/e6000sw/e6000sw.c
+++ b/sys/dev/etherswitch/e6000sw/e6000sw.c
@@ -529,20 +529,11 @@
if (!e6000sw_is_phyport(sc, port))
continue;
- /*
- * It's necessary to unlock mutex, because e6000sw_attach_miibus
- * calls functions, which try to lock mutex.That leads
- * to recursive lock on non recursive mutex.
- */
- E6000SW_UNLOCK(sc);
-
err = e6000sw_attach_miibus(sc, port);
if (err != 0) {
device_printf(sc->dev, "failed to attach miibus\n");
goto out_fail;
}
-
- E6000SW_LOCK(sc);
}
etherswitch_info.es_nports = sc->num_ports;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Sep 29, 5:27 PM (22 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13143287
Default Alt Text
D36117.diff (685 B)
Attached To
Mode
D36117: e6000sw: fix incorrect locking
Attached
Detach File
Event Timeline
Log In to Comment