|
@@ -1396,6 +1396,12 @@ void __nf_ct_refresh_acct(struct nf_conn *ct,
|
|
|
|
|
|
write_lock_bh(&nf_conntrack_lock);
|
|
|
|
|
|
+ /* Only update if this is not a fixed timeout */
|
|
|
+ if (test_bit(IPS_FIXED_TIMEOUT_BIT, &ct->status)) {
|
|
|
+ write_unlock_bh(&nf_conntrack_lock);
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
/* If not in hash table, timer will not be active yet */
|
|
|
if (!nf_ct_is_confirmed(ct)) {
|
|
|
ct->timeout.expires = extra_jiffies;
|