From 4153a3a323d3bd508799f151a733f9d7b01feb36 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sat, 19 Aug 2000 22:10:10 +0000 Subject: [PATCH] Fixed a missing splx() in if_addmulti(). Was broken in rev.1.28. --- sys/netinet/in.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/netinet/in.c b/sys/netinet/in.c index f1bc7f75c59b..79e5721af1bb 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 */