commit | 6b25d30bf112370a12d05c3c0fd43732985dab01 | [log] [tgz] |
---|---|---|
author | Patrick McHardy <kaber@trash.net> | Mon Jul 09 15:30:19 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Tue Jul 10 22:19:03 2007 -0700 |
tree | 9739e7085a36283e3755ba33887457e4dd25206a | |
parent | 1498b3f1952ae539a7d5c356acf942d5f4c1aece [diff] |
[NET]: Fix gen_estimator timer removal race As noticed by Jarek Poplawski <jarkao2@o2.pl>, the timer removal in gen_kill_estimator races with the timer function rearming the timer. Check whether the timer list is empty before rearming the timer in the timer function to fix this. Signed-off-by: Patrick McHardy <kaber@trash.net> Acked-by: Jarek Poplawski <jarkao2@o2.pl> Signed-off-by: David S. Miller <davem@davemloft.net>