git: 104827151e2a - main - ng_iface: don't recursively enter epoch in the rcvdata method
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 Dec 2025 22:06:09 UTC
The branch main has been updated by glebius:
URL: https://cgit.FreeBSD.org/src/commit/?id=104827151e2abc7fe6fb9bf59a12b443657d1506
commit 104827151e2abc7fe6fb9bf59a12b443657d1506
Author: Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2025-12-17 22:05:53 +0000
Commit: Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2025-12-17 22:05:53 +0000
ng_iface: don't recursively enter epoch in the rcvdata method
Reviewed by: p.mousavizadeh_protonmail.com, zlei
Differential Revision: https://reviews.freebsd.org/D54241
---
sys/netgraph/ng_iface.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/sys/netgraph/ng_iface.c b/sys/netgraph/ng_iface.c
index fbe89e13474b..aa150719dbf9 100644
--- a/sys/netgraph/ng_iface.c
+++ b/sys/netgraph/ng_iface.c
@@ -680,7 +680,6 @@ ng_iface_rcvdata(hook_p hook, item_p item)
const priv_p priv = NG_NODE_PRIVATE(NG_HOOK_NODE(hook));
const iffam_p iffam = get_iffam_from_hook(priv, hook);
struct ifnet *const ifp = priv->ifp;
- struct epoch_tracker et;
struct mbuf *m;
int isr;
@@ -723,9 +722,7 @@ ng_iface_rcvdata(hook_p hook, item_p item)
random_harvest_queue(m, sizeof(*m), RANDOM_NET_NG);
M_SETFIB(m, ifp->if_fib);
CURVNET_SET(ifp->if_vnet);
- NET_EPOCH_ENTER(et);
netisr_dispatch(isr, m);
- NET_EPOCH_EXIT(et);
CURVNET_RESTORE();
return (0);
}