summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-08-19 22:10:10 +0000
committerbde <bde@FreeBSD.org>2000-08-19 22:10:10 +0000
commite326bfd05ce5f288a4c4341fcd6004ae15006251 (patch)
treecfd8a6a702e893662f3a81082cf81c8b6ab36aa2 /sys/netinet/in.c
parent7e02b0e8989c2999a6ad389d0d74715cdffb0f1a (diff)
downloadFreeBSD-src-e326bfd05ce5f288a4c4341fcd6004ae15006251.zip
FreeBSD-src-e326bfd05ce5f288a4c4341fcd6004ae15006251.tar.gz
Fixed a missing splx() in if_addmulti(). Was broken in rev.1.28.
Diffstat (limited to 'sys/netinet/in.c')
-rw-r--r--sys/netinet/in.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/in.c b/sys/netinet/in.c
index f1bc7f7..79e5721 100644
--- a/sys/netinet/in.c
+++ b/sys/netinet/in.c
@@ -796,8 +796,10 @@ in_addmulti(ap, ifp)
* If ifma->ifma_protospec is null, then if_addmulti() created
* a new record. Otherwise, we are done.
*/
- if (ifma->ifma_protospec != 0)
+ if (ifma->ifma_protospec != 0) {
+ splx(s);
return ifma->ifma_protospec;
+ }
/* XXX - if_addmulti uses M_WAITOK. Can this really be called
at interrupt time? If so, need to fix if_addmulti. XXX */
OpenPOWER on IntegriCloud