svn commit: r326702 - head/sys/net
Ryan Stone
rysto32 at gmail.com
Fri Dec 8 18:57:15 UTC 2017
On Fri, Dec 8, 2017 at 1:43 PM, Stephen Hurd <shurd at freebsd.org> wrote:
> Author: shurd
> Date: Fri Dec 8 18:43:31 2017
> New Revision: 326702
> URL: https://svnweb.freebsd.org/changeset/base/326702
> + if (!M_WRITABLE(*m_head)) {
> + new_head = m_dup(*m_head, M_NOWAIT);
> + if (new_head == NULL) {
> + device_printf(dev, "cannot pad short frame, m_dup() failed");
> + return ENOMEM;
Don't we leak *m_head here? As far as I can tell the caller doesn't
deal with it.
More information about the svn-src-all
mailing list