diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-05-23 01:59:11 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-05-23 01:59:11 +0000 |
commit | b9b1b0bf840c4acefc1a41611afeee3f292c9e69 (patch) | |
tree | f33f7b82e514d696f5fb84e1c91e9c8f39e1564f /sys/netinet/igmp.c | |
parent | b4bca9f9ef3a8055d9375c44a7d489db91b7d504 (diff) |
missing splx; andrushock@korovino.net
Diffstat (limited to 'sys/netinet/igmp.c')
-rw-r--r-- | sys/netinet/igmp.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/netinet/igmp.c b/sys/netinet/igmp.c index 8a0d237a4b9..faf2f282125 100644 --- a/sys/netinet/igmp.c +++ b/sys/netinet/igmp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: igmp.c,v 1.20 2004/01/03 14:08:53 espie Exp $ */ +/* $OpenBSD: igmp.c,v 1.21 2004/05/23 01:59:10 deraadt Exp $ */ /* $NetBSD: igmp.c,v 1.15 1996/02/13 23:41:25 christos Exp $ */ /* @@ -402,8 +402,10 @@ igmp_joingroup(inm) if (!IN_LOCAL_GROUP(inm->inm_addr.s_addr) && (inm->inm_ifp->if_flags & IFF_LOOPBACK) == 0) { - if ((i = rti_fill(inm)) == -1) + if ((i = rti_fill(inm)) == -1) { + splx(s); return; + } igmp_sendpkt(inm, i, 0); inm->inm_state = IGMP_DELAYING_MEMBER; inm->inm_timer = IGMP_RANDOM_DELAY( |