diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2001-03-08 09:01:32 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2001-03-08 09:01:32 +0000 |
commit | e4a14e17f43726651e0329e12bbfd4608ef54bcb (patch) | |
tree | d5a252b574fe0f744781d2ec239695b5fb0b6f21 /sys | |
parent | 9ec532bb7c07dd5376672340706cb45911c277c1 (diff) |
more missing splx. sync with kame
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet6/ip6_mroute.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/netinet6/ip6_mroute.c b/sys/netinet6/ip6_mroute.c index 5d1af4696d0..e7f7a5a0724 100644 --- a/sys/netinet6/ip6_mroute.c +++ b/sys/netinet6/ip6_mroute.c @@ -1,5 +1,5 @@ -/* $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 $ */ +/* $OpenBSD: ip6_mroute.c,v 1.14 2001/03/08 09:01:31 itojun Exp $ */ +/* $KAME: ip6_mroute.c,v 1.43 2001/03/08 08:47:33 itojun Exp $ */ /* * Copyright (C) 1998 WIDE Project. @@ -1511,19 +1511,21 @@ phyint_send(ip6, mifp, m) else { #ifdef MULTICAST_PMTUD icmp6_error(mb_copy, ICMP6_PACKET_TOO_BIG, 0, ifp->if_mtu); + splx(s); return; #else #ifdef MRT6DEBUG if (mrt6debug & DEBUG_XMIT) log(LOG_DEBUG, - "phyint_send: packet too big on %s%u o %s g %s" + "phyint_send: packet too big on %s o %s g %s" " size %d(discarded)\n", - ifp->if_name, ifp->if_unit, + if_name(ifp), ip6_sprintf(&ip6->ip6_src), ip6_sprintf(&ip6->ip6_dst), mb_copy->m_pkthdr.len); #endif /* MRT6DEBUG */ m_freem(mb_copy); /* simply discard the packet */ + splx(s); return; #endif } |