FreeBSD Bugzilla – Attachment 245156 Details for
Bug 274028
ng_bridge fails to learn MAC addresses if link is in different VNET
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Switch VNETs when injecting mbufs into netgraph
ng_eiface.diff (text/plain), 466 bytes, created by
Marko Zec
on 2023-09-23 09:02:20 UTC
(
hide
)
Description:
Switch VNETs when injecting mbufs into netgraph
Filename:
MIME Type:
Creator:
Marko Zec
Created:
2023-09-23 09:02:20 UTC
Size:
466 bytes
patch
obsolete
>diff --git a/sys/netgraph/ng_eiface.c b/sys/netgraph/ng_eiface.c >index 8a887d168fcd..738b4ab13f9c 100644 >--- a/sys/netgraph/ng_eiface.c >+++ b/sys/netgraph/ng_eiface.c >@@ -256,7 +256,9 @@ ng_eiface_start2(node_p node, hook_p hook, void *arg1, int arg2) > * freed. > */ > NG_OUTBOUND_THREAD_REF(); >+ CURVNET_SET_QUIET(priv->node->nd_vnet); > NG_SEND_DATA_ONLY(error, priv->ether, m); >+ CURVNET_RESTORE(); > NG_OUTBOUND_THREAD_UNREF(); > > /* Update stats */
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 274028
: 245156