Hi, Shouldn't packet freed in IFQ_ENQUEUE() because the queue is full be accounted as dropped, cf attached patch ?
Thanks, - Arnaud
diff --git a/sys/net/if_var.h b/sys/net/if_var.h index 2dcb6f9..387f614 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -419,6 +419,7 @@ do { \ ALTQ_ENQUEUE(ifq, m, NULL, err); \ else { \ if (_IF_QFULL(ifq)) { \ + _IF_DROP(ifq); \ m_freem(m); \ (err) = ENOBUFS; \ } else { \
_______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"