search for: found_ct

Displaying 1 result from an estimated 1 matches for "found_ct".

Did you mean: found_bit
2024 Nov 07
0
[Bug 1778] New: Skipping garbage collection in nf_conncount.c stops working when jiffies wrap around
...ic check is here: https://github.com/torvalds/linux/blob/master/net/netfilter/nf_conncount.c#L135. One fix could be to check if the last_gc matches the current (u32)jiffies like below: --- a/net/netfilter/nf_conncount.c +++ b/net/netfilter/nf_conncount.c @@ -132,7 +132,7 @@ struct nf_conn *found_ct; unsigned int collect = 0; - if (time_is_after_eq_jiffies((unsigned long)list->last_gc)) + if ((u32)jiffies == list->last_gc) goto add_new_node; /* check the saved connections */ @@ -234,7 +234,7 @@ bool ret = false; /* don't...