On Tue, Jun 30, 2020 at 04:11:59AM +0200, Klemens Nanni wrote:
> Interface groups are allocated as follows:
>
> struct ifg_group *
> if_creategroup(const char *groupname)
> {
> struct ifg_group *ifg;
>
> if ((ifg = malloc(sizeof(*ifg), M_TEMP, M_NOWAIT)) == NULL)
> return (NULL);
>
> ...
> }
>
> Since this allocation per group does not change, we can use the same
> size when freeing it in if_delgroup() accordingly.
>
> Tested on sparc64.
>
> Feedback? OK?
> OK mvs
