summaryrefslogtreecommitdiff
path: root/sys/netns/spp_usrreq.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2002-03-26 19:12:57 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2002-03-26 19:12:57 +0000
commit27acdfd63f6305a453113b9ab926271f446aee9d (patch)
treeb27090f178dd0d283ac83b4a066080f468e812fa /sys/netns/spp_usrreq.c
parent410d402f1b156d84b76644d151604fdea02eb25b (diff)
m_freem(NULL) bad style, ok jason@
Diffstat (limited to 'sys/netns/spp_usrreq.c')
-rw-r--r--sys/netns/spp_usrreq.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netns/spp_usrreq.c b/sys/netns/spp_usrreq.c
index 48759d4910a..c32a7901459 100644
--- a/sys/netns/spp_usrreq.c
+++ b/sys/netns/spp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spp_usrreq.c,v 1.12 2002/03/15 18:19:53 millert Exp $ */
+/* $OpenBSD: spp_usrreq.c,v 1.13 2002/03/26 19:12:56 niklas Exp $ */
/* $NetBSD: spp_usrreq.c,v 1.9 1996/02/13 22:14:13 christos Exp $ */
/*
@@ -848,7 +848,6 @@ spp_output(struct mbuf *m0, ...)
if (m0->m_len < sizeof (*sh)) {
if((m0 = m_pullup(m0, sizeof(*sh))) == NULL) {
(void) m_free(m);
- m_freem(m0);
return (EINVAL);
}
m->m_next = m0;