Lines 1593-1606
_if_delgroup_locked(struct ifnet *ifp, struct ifg_list *ifgl,
Link Here
|
1593 |
IFNET_WUNLOCK(); |
1593 |
IFNET_WUNLOCK(); |
1594 |
|
1594 |
|
1595 |
epoch_wait_preempt(net_epoch_preempt); |
1595 |
epoch_wait_preempt(net_epoch_preempt); |
|
|
1596 |
EVENTHANDLER_INVOKE(group_change_event, groupname); |
1596 |
if (freeifgl) { |
1597 |
if (freeifgl) { |
1597 |
EVENTHANDLER_INVOKE(group_detach_event, ifgl->ifgl_group); |
1598 |
EVENTHANDLER_INVOKE(group_detach_event, ifgl->ifgl_group); |
1598 |
free(ifgl->ifgl_group, M_TEMP); |
1599 |
free(ifgl->ifgl_group, M_TEMP); |
1599 |
} |
1600 |
} |
1600 |
free(ifgm, M_TEMP); |
1601 |
free(ifgm, M_TEMP); |
1601 |
free(ifgl, M_TEMP); |
1602 |
free(ifgl, M_TEMP); |
1602 |
|
|
|
1603 |
EVENTHANDLER_INVOKE(group_change_event, groupname); |
1604 |
} |
1603 |
} |
1605 |
|
1604 |
|
1606 |
/* |
1605 |
/* |