diff --git a/net/netfilter/nf_tables_api.c b/net/netfilter/nf_tables_api.c index f85327ff7637c7d37a835c2277735a3ada866e1b..56678603fc17e791d41850de2dc721cfbc82f846 100644 --- a/net/netfilter/nf_tables_api.c +++ b/net/netfilter/nf_tables_api.c @@ -96,6 +96,7 @@ static struct nft_trans *nft_trans_alloc_gfp(const struct nft_ctx *ctx, if (trans == NULL) return NULL; + INIT_LIST_HEAD(&trans->list); trans->msg_type = msg_type; trans->ctx = *ctx;