Message ID | 20220621085618.3975-3-pablo@netfilter.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 394e771684f7a2cd4e154647bff50084c31bc7cf |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net,1/5] netfilter: use get_random_u32 instead of prandom | expand |
diff --git a/net/netfilter/nfnetlink_cttimeout.c b/net/netfilter/nfnetlink_cttimeout.c index af15102bc696..f466af4f8531 100644 --- a/net/netfilter/nfnetlink_cttimeout.c +++ b/net/netfilter/nfnetlink_cttimeout.c @@ -614,7 +614,7 @@ static void __net_exit cttimeout_net_exit(struct net *net) nf_ct_untimeout(net, NULL); - list_for_each_entry_safe(cur, tmp, &pernet->nfct_timeout_freelist, head) { + list_for_each_entry_safe(cur, tmp, &pernet->nfct_timeout_freelist, free_head) { list_del(&cur->free_head); if (refcount_dec_and_test(&cur->refcnt))