mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Frames that are not considered for LRO should not be counted in LRO statistics.
Reviewed by: gnn@, hselasky@, gallatin@ MFC after: 1 week Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D10430
This commit is contained in:
parent
5477372324
commit
ea9a92f112
1 changed files with 0 additions and 2 deletions
|
|
@ -953,8 +953,6 @@ tcp_lro_queue_mbuf(struct lro_ctrl *lc, struct mbuf *mb)
|
|||
/* check if packet is not LRO capable */
|
||||
if (__predict_false(mb->m_pkthdr.csum_flags == 0 ||
|
||||
(lc->ifp->if_capenable & IFCAP_LRO) == 0)) {
|
||||
lc->lro_flushed++;
|
||||
lc->lro_queued++;
|
||||
|
||||
/* input packet to network layer */
|
||||
(*lc->ifp->if_input) (lc->ifp, mb);
|
||||
|
|
|
|||
Loading…
Reference in a new issue