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:
parent
9504fccf29
commit
45436c7a67
@ -3110,15 +3110,6 @@ iflib_rxeof(iflib_rxq_t rxq, qidx_t budget)
|
||||
DBG_COUNTER_INC(rx_if_input);
|
||||
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
|
||||
|
||||
if (mf == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user