if_delgroups: add missed unlock introduced by r334118

This commit is contained in:
Matt Macy 2018-05-24 17:54:08 +00:00
parent 0b979e7e8e
commit 5328b11c95
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334172

View file

@ -1557,6 +1557,7 @@ if_delgroups(struct ifnet *ifp)
ifglfree = 1;
}
IFNET_WUNLOCK();
epoch_wait_preempt(net_epoch_preempt);
free(ifgm, M_TEMP);
if (ifglfree) {