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:
parent
9c2a5c3b76
commit
c8892dd722
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user