Fixed a missing splx() in if_addmulti(). Was broken in rev.1.28.

This commit is contained in:
Bruce Evans 2000-08-19 22:10:10 +00:00
parent c0c32537e3
commit 4153a3a323
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64853

View File

@ -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 */