diff --git a/net/netfilter/nf_tables_api.c b/net/netfilter/nf_tables_api.c index ae27c34e6273cb7e32975531a781b61fc4b3bdf0..2984277f2531aa824df632e65b94430fafdca3eb 100644 --- a/net/netfilter/nf_tables_api.c +++ b/net/netfilter/nf_tables_api.c @@ -114,6 +114,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;