mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-19 14:54:24 +00:00
Increment mbstat.m_mpfail, not mbstat.m_mcfail, when m_pullup() fails.
This slipped in accidently a few commits back.
This commit is contained in:
parent
12ae55c6f2
commit
629db60492
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=77066
|
@ -1003,7 +1003,7 @@ m_pullup(struct mbuf *n, int len)
|
|||
bad:
|
||||
m_freem(n);
|
||||
mtx_lock(&mbuf_mtx);
|
||||
mbstat.m_mcfail++;
|
||||
mbstat.m_mpfail++;
|
||||
mtx_unlock(&mbuf_mtx);
|
||||
return (NULL);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue