summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_teql.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-07-31 09:38:52 +0200
committerDavid S. Miller <davem@davemloft.net>2008-07-31 09:38:52 +0200
commit967ab999a090b1a4e7d3c7febfd6d89b42fb4cf4 (patch)
tree7ccc98a3ef1be4ca3129de23b083ab2bc47eb5c3 /net/sched/sch_teql.c
parentnetfilter: ipt_recent: fix race between recent_mt_destroy and proc manipulations (diff)
downloadlinux-967ab999a090b1a4e7d3c7febfd6d89b42fb4cf4.tar.xz
linux-967ab999a090b1a4e7d3c7febfd6d89b42fb4cf4.zip
netfilter: xt_hashlimit: fix race between htable_destroy and htable_gc
Deleting a timer with del_timer doesn't guarantee, that the timer function is not running at the moment of deletion. Thus in the xt_hashlimit case we can get into a ticklish situation when the htable_gc rearms the timer back and we'll actually delete an entry with a pending timer. Fix it with using del_timer_sync(). AFAIK del_timer_sync checks for the timer to be pending by itself, so I remove the check. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_teql.c')
0 files changed, 0 insertions, 0 deletions