Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160652307
D29697.id87017.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
507 B
Referenced Files
None
Subscribers
None
D29697.id87017.diff
View Options
Index: sys/dev/netmap/netmap.c
===================================================================
--- sys/dev/netmap/netmap.c
+++ sys/dev/netmap/netmap.c
@@ -3983,7 +3983,9 @@
(struct netmap_hw_adapter*)na;
int error = 0;
+#ifndef __FreeBSD__
nm_os_ifnet_lock();
+#endif /* __FreeBSD__ */
if (nm_iszombie(na)) {
if (onoff) {
@@ -3997,7 +3999,9 @@
error = hwna->nm_hw_register(na, onoff);
out:
+#ifndef __FreeBSD__
nm_os_ifnet_unlock();
+#endif /* __FreeBSD__ */
return error;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jun 27, 12:22 PM (17 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34400513
Default Alt Text
D29697.id87017.diff (507 B)
Attached To
Mode
D29697: remove IFNET_RLOCK() that collides CTX_LOCK() in iflib_netmap_register
Attached
Detach File
Event Timeline
Log In to Comment