Fixed a missing splx() in if_addmulti(). Was broken in rev.1.28.
This commit is contained in:
parent
c0c32537e3
commit
4153a3a323
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user