|
@@ -1143,7 +1143,10 @@ void ip_ct_refresh_acct(struct ip_conntrack *ct,
|
|
|
if (del_timer(&ct->timeout)) {
|
|
|
ct->timeout.expires = jiffies + extra_jiffies;
|
|
|
add_timer(&ct->timeout);
|
|
|
- ip_conntrack_event_cache(IPCT_REFRESH, skb);
|
|
|
+ /* FIXME: We loose some REFRESH events if this function
|
|
|
+ * is called without an skb. I'll fix this later -HW */
|
|
|
+ if (skb)
|
|
|
+ ip_conntrack_event_cache(IPCT_REFRESH, skb);
|
|
|
}
|
|
|
ct_add_counters(ct, ctinfo, skb);
|
|
|
write_unlock_bh(&ip_conntrack_lock);
|