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:
Gleb Smirnoff 2005-12-06 11:16:11 +00:00
parent 95d1f36f82
commit bbce982bd5

View File

@ -374,6 +374,7 @@ again:
{
error = ENOBUFS;
ipstat.ips_odropped++;
ifp->if_snd.ifq_drops += (ip->ip_len / ifp->if_mtu + 1);
goto bad;
}