Re: [PATCH 1/3 nf-next] netfilter: nf_tables: add release callback in nft_expr_type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Taehee Yoo <ap420073@xxxxxxxxx> wrote:
> This patch adds the new release callback to release resources
> allocated in nft_expr_type->select_ops.
> This release callback can be used by error path in the
> nf_tables_newrule routine.
> Only the select_ops of the nft_compat.c allocates memory and holds
> modules so far.

Wouldn't it be simpler to just add the missing nft_xt_put()
in nft_target_init()?

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux