FreeBSD Bugzilla – Attachment 201965 Details for
Bug 235704
[net] [patch] tun(4) can't be destroyed on a VNET jail if it's renamed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
diff to /usr/src
if_clone.c.patch (text/plain), 564 bytes, created by
genneko217
on 2019-02-12 20:56:45 UTC
(
hide
)
Description:
diff to /usr/src
Filename:
MIME Type:
Creator:
genneko217
Created:
2019-02-12 20:56:45 UTC
Size:
564 bytes
patch
obsolete
>Index: sys/net/if_clone.c >=================================================================== >--- sys/net/if_clone.c (revision 343922) >+++ sys/net/if_clone.c (working copy) >@@ -269,12 +269,8 @@ > if (ifc == NULL && !IS_DEFAULT_VNET(curvnet)) { > CURVNET_SET_QUIET(vnet0); > LIST_FOREACH(ifc, &V_if_cloners, ifc_list) >- if (ifc->ifc_type == SIMPLE) { >- if (ifc_simple_match(ifc, name)) >- break; >- } else { >- if (ifc->ifc_match(ifc, name)) >- break; >+ if (strcmp(ifc->ifc_name, ifp->if_dname) == 0) { >+ break; > } > CURVNET_RESTORE(); > }
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 235704
: 201965 |
201966