mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-22 16:44:32 +01:00
Fixed a missing splx() in if_addmulti(). Was broken in rev.1.28.
This commit is contained in:
parent
c0c32537e3
commit
4153a3a323
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64853
@ -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…
Reference in New Issue
Block a user