diff --git a/net/netfilter/nf_conntrack_core.c index d1f8eb725..a3ef8eae7 100644 --- a/net/netfilter/nf_conntrack_core.c +++ b/net/netfilter/nf_conntrack_core.c @@ -1608,6 +1608,7 @@ static void gc_worker(struct work_struct *work) } nf_ct_put(tmp); + cond_resched(); } /* could check get_nulls_value() here and restart if ct