mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
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
95d1f36f82
commit
bbce982bd5
1 changed files with 1 additions and 0 deletions
|
|
@ -374,6 +374,7 @@ again:
|
|||
{
|
||||
error = ENOBUFS;
|
||||
ipstat.ips_odropped++;
|
||||
ifp->if_snd.ifq_drops += (ip->ip_len / ifp->if_mtu + 1);
|
||||
goto bad;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue