MFC 1.251:

When we drop packet due to no space in output interface output queue, also
  increase the ifp->if_snd.ifq_drops.

  PR:             72440
  Submitted by:   ikob
This commit is contained in:
glebius 2005-12-28 13:37:25 +00:00
parent 9c2a5c3b76
commit c8892dd722

View File

@ -378,6 +378,7 @@ ip_output(struct mbuf *m, struct mbuf *opt, struct route *ro,
{
error = ENOBUFS;
ipstat.ips_odropped++;
ifp->if_snd.ifq_drops += (ip->ip_len / ifp->if_mtu + 1);
goto bad;
}