diff options
author | 2008-11-26 23:47:14 +0000 | |
---|---|---|
committer | 2008-11-26 23:47:14 +0000 | |
commit | fe29d63ed74aa188a0866f6b56ef7866514d263e (patch) | |
tree | fd22a92805b6ebdb63c606596a6c59ef5a8ae5cb /sys | |
parent | Do a quick return if m->m_next is NULL in m_defrag() because there is nothing (diff) | |
download | wireguard-openbsd-fe29d63ed74aa188a0866f6b56ef7866514d263e.tar.xz wireguard-openbsd-fe29d63ed74aa188a0866f6b56ef7866514d263e.zip |
Doh, do not commit before compile. Found by sthen@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/uipc_mbuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c index b0ce3d43e2f..0790ae1963f 100644 --- a/sys/kern/uipc_mbuf.c +++ b/sys/kern/uipc_mbuf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uipc_mbuf.c,v 1.105 2008/11/26 22:56:07 claudio Exp $ */ +/* $OpenBSD: uipc_mbuf.c,v 1.106 2008/11/26 23:47:14 claudio Exp $ */ /* $NetBSD: uipc_mbuf.c,v 1.15.4.1 1996/06/13 17:11:44 cgd Exp $ */ /* @@ -375,7 +375,7 @@ m_defrag(struct mbuf *m, int how) struct mbuf *m0; if (m->m_next == NULL) - return; + return 0; #ifdef DIAGNOSTIC if (!(m->m_flags & M_PKTHDR)) |