summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_vegas.c
diff options
context:
space:
mode:
authorMartin Josefsson <gandalf@wlug.westbo.se>2006-11-29 01:35:12 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 05:31:14 (GMT)
commitbe00c8e48993368663e2714bd1e7c886b7736406 (patch)
treee846325f0ae13b20b78fa711759b09600c8646df /net/ipv4/tcp_vegas.c
parent824621eddd2087b0e6f0b2e0da91e8d77e4919bf (diff)
downloadlinux-fsl-qoriq-be00c8e48993368663e2714bd1e7c886b7736406.tar.xz
[NETFILTER]: nf_conntrack: reduce timer updates in __nf_ct_refresh_acct()
Only update the conntrack timer if there's been at least HZ jiffies since the last update. Reduces the number of del_timer/add_timer cycles from one per packet to one per connection per second (plus once for each state change of a connection) Should handle timer wraparounds and connection timeout changes. Signed-off-by: Martin Josefsson <gandalf@wlug.westbo.se> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/ipv4/tcp_vegas.c')
0 files changed, 0 insertions, 0 deletions