static void nft_ct_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) { struct nft_ct *priv = nft_expr_priv(expr); switch (priv->key) { #ifdef CONFIG_NF_CONNTRACK_LABELS case NFT_CT_LABELS: nf_connlabels_put(ctx->net); break; #endif default: break; } nft_ct_l3proto_module_put(ctx->afi->family); }
static void nft_ct_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) { nft_ct_l3proto_module_put(ctx->afi->family); }