freebsd_iflib: Remove workaround for multi-packet receive.
Following the last commit, we can just let if_input process the whole chain at once. The logic here may not have been correct, and possibly caused memory leaks under high-traffic conditions. May help with #18585 and others.
This commit is contained in:
@@ -3110,15 +3110,6 @@ iflib_rxeof(iflib_rxq_t rxq, qidx_t budget)
|
|||||||
DBG_COUNTER_INC(rx_if_input);
|
DBG_COUNTER_INC(rx_if_input);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
#else /* __HAIKU __*/
|
|
||||||
if (mf != NULL) {
|
|
||||||
ifp->if_input(ifp, mf);
|
|
||||||
DBG_COUNTER_INC(rx_if_input);
|
|
||||||
mt = mf = NULL;
|
|
||||||
}
|
|
||||||
ifp->if_input(ifp, m);
|
|
||||||
DBG_COUNTER_INC(rx_if_input);
|
|
||||||
continue;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (mf == NULL)
|
if (mf == NULL)
|
||||||
|
|||||||
Reference in New Issue
Block a user