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
59770017e6
commit
660b10131f
@ -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…
x
Reference in New Issue
Block a user