On Sat, Aug 19, 2017 at 05:24:04PM +0200, Eric Leblond wrote:
> Signed-off-by: Eric Leblond <[email protected]>
Please, add description, even if it's just a oneliner.
[...]
> diff --git a/src/erec.c b/src/erec.c
> index 439add9..f454d34 100644
> --- a/src/erec.c
> +++ b/src/erec.c
> @@ -213,6 +213,16 @@ void erec_print_list(FILE *f, struct list_head *list)
> }
> }
>
> +void erec_free_list(struct list_head *list)
> +{
> + struct error_record *erec, *next;
> +
> + list_for_each_entry_safe(erec, next, list, list) {
> + list_del(&erec->list);
> + erec_destroy(erec);
> + }
> +}
There is no first user of this function in the codebase yet?
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html