FreeBSD Bugzilla – Attachment 157895 Details for
Bug 200991
[patch] do not assert that the new rtentry mutex is not initialized
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
rtentry lock patch
rt_lock.patch (text/plain), 561 bytes, created by
luke.tw
on 2015-06-20 12:19:22 UTC
(
hide
)
Description:
rtentry lock patch
Filename:
MIME Type:
Creator:
luke.tw
Created:
2015-06-20 12:19:22 UTC
Size:
561 bytes
patch
obsolete
>Index: sys/net/route.h >=================================================================== >--- sys/net/route.h (revision 284637) >+++ sys/net/route.h (working copy) >@@ -291,7 +291,7 @@ > || (ifp)->if_link_state == LINK_STATE_UP) > > #define RT_LOCK_INIT(_rt) \ >- mtx_init(&(_rt)->rt_mtx, "rtentry", NULL, MTX_DEF | MTX_DUPOK) >+ mtx_init(&(_rt)->rt_mtx, "rtentry", NULL, MTX_DEF | MTX_DUPOK | MTX_NEW) > #define RT_LOCK(_rt) mtx_lock(&(_rt)->rt_mtx) > #define RT_UNLOCK(_rt) mtx_unlock(&(_rt)->rt_mtx) > #define RT_LOCK_DESTROY(_rt) mtx_destroy(&(_rt)->rt_mtx)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 200991
: 157895