diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2001-03-07 22:50:45 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2001-03-07 22:50:45 +0000 |
commit | c4a5317cd111a0c1df8f3880589259d76020930b (patch) | |
tree | 85753df85333d9b34d59d2db52d56ad475c9c087 /sys | |
parent | e8f683ee28bf27a9e757d6d720bf8c2c02cdef03 (diff) |
missing splx. from aaron. sync with kame
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet6/ip6_mroute.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/netinet6/ip6_mroute.c b/sys/netinet6/ip6_mroute.c index 1435073a51a..5d1af4696d0 100644 --- a/sys/netinet6/ip6_mroute.c +++ b/sys/netinet6/ip6_mroute.c @@ -1,5 +1,5 @@ -/* $OpenBSD: ip6_mroute.c,v 1.12 2001/02/16 14:58:12 itojun Exp $ */ -/* $KAME: ip6_mroute.c,v 1.40 2001/02/16 08:37:03 itojun Exp $ */ +/* $OpenBSD: ip6_mroute.c,v 1.13 2001/03/07 22:50:44 itojun Exp $ */ +/* $KAME: ip6_mroute.c,v 1.41 2001/03/07 22:47:22 itojun Exp $ */ /* * Copyright (C) 1998 WIDE Project. @@ -1443,8 +1443,10 @@ phyint_send(ip6, mifp, m) if (mb_copy && (M_HASCL(mb_copy) || mb_copy->m_len < sizeof(struct ip6_hdr))) mb_copy = m_pullup(mb_copy, sizeof(struct ip6_hdr)); - if (mb_copy == NULL) + if (mb_copy == NULL) { + splx(s); return; + } /* set MCAST flag to the outgoing packet */ mb_copy->m_flags |= M_MCAST; |