search for: nf_conncount_list

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

2024 Nov 07
0
[Bug 1778] New: Skipping garbage collection in nf_conncount.c stops working when jiffies wrap around
...n_n, &list->head, node) { After the kernel has run for 5 minutes we see the following logged when quickly sending a few SYNs: Already did GC this jiffy, but not skipping. (u32)jiffies=2541, (unsigned long)list->last_gc=2541, jiffies=4294969837 The problem seems to be that last_gc in the nf_conncount_list struct is an u32, but jiffies is an unsigned long which is 8 bytes on my systems. When those two are compared it only works until last_gc wraps around. The problematic check is here: https://github.com/torvalds/linux/blob/master/net/netfilter/nf_conncount.c#L135. One fix could be to check if the l...