OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 19... | Line 19... | |||
19 | Signed-off-by: Felix Fietkau <nbd@nbd.name> |
19 | Signed-off-by: Felix Fietkau <nbd@nbd.name> |
|
20 | --- |
20 | --- |
|
Line 21... | Line 21... | |||
21 | |
21 | |
|
22 | --- a/net/netfilter/nf_conntrack_core.c |
22 | --- a/net/netfilter/nf_conntrack_core.c |
|
23 | +++ b/net/netfilter/nf_conntrack_core.c |
23 | +++ b/net/netfilter/nf_conntrack_core.c |
|
24 | @@ -981,18 +981,6 @@ static bool gc_worker_can_early_drop(con |
24 | @@ -978,18 +978,6 @@ static bool gc_worker_can_early_drop(con |
|
25 | return false; |
25 | return false; |
|
Line 26... | Line 26... | |||
26 | } |
26 | } |
|
27 | |
27 | |
|
Line 38... | Line 38... | |||
38 | -} |
38 | -} |
|
39 | - |
39 | - |
|
40 | static void gc_worker(struct work_struct *work) |
40 | static void gc_worker(struct work_struct *work) |
|
41 | { |
41 | { |
|
42 | unsigned int min_interval = max(HZ / GC_MAX_BUCKETS_DIV, 1u); |
42 | unsigned int min_interval = max(HZ / GC_MAX_BUCKETS_DIV, 1u); |
|
43 | @@ -1029,10 +1017,8 @@ static void gc_worker(struct work_struct |
43 | @@ -1026,10 +1014,8 @@ static void gc_worker(struct work_struct |
|
44 | tmp = nf_ct_tuplehash_to_ctrack(h); |
44 | tmp = nf_ct_tuplehash_to_ctrack(h); |
|
Line 45... | Line 45... | |||
45 | |
45 | |
|
46 | scanned++; |
46 | scanned++; |
|
47 | - if (test_bit(IPS_OFFLOAD_BIT, &tmp->status)) { |
47 | - if (test_bit(IPS_OFFLOAD_BIT, &tmp->status)) { |