diff options
author | glebius <glebius@FreeBSD.org> | 2013-11-14 09:45:33 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-11-14 09:45:33 +0000 |
commit | fd01c5677d7eaab7f7f6dbc174de87dfc6da5abf (patch) | |
tree | 1b1b7f214d15decdcb662f782d015e8c9116971f /sys/kern/uipc_mbuf.c | |
parent | 12cf4d4a0c9e518e6941f34b55f3e69d6f58f6f1 (diff) | |
download | FreeBSD-src-fd01c5677d7eaab7f7f6dbc174de87dfc6da5abf.zip FreeBSD-src-fd01c5677d7eaab7f7f6dbc174de87dfc6da5abf.tar.gz |
Fix a very bad typo from r248887.
Submitted by: art
Diffstat (limited to 'sys/kern/uipc_mbuf.c')
-rw-r--r-- | sys/kern/uipc_mbuf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c index 8e278a4..a16af57 100644 --- a/sys/kern/uipc_mbuf.c +++ b/sys/kern/uipc_mbuf.c @@ -1196,6 +1196,7 @@ m_split(struct mbuf *m0, int len0, int wait) remain = m->m_len - len; if (m0->m_flags & M_PKTHDR && remain == 0) { n = m_gethdr(wait, m0->m_type); + if (n == NULL) return (NULL); n->m_next = m->m_next; m->m_next = NULL; |