Pavel Emelyanov
967ab999a0
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>
2008-07-31 00:38:52 -07:00
..
2008-03-26 04:39:53 +09:00
2008-07-21 10:10:58 -07:00
2008-07-21 10:10:58 -07:00
2008-07-21 10:10:58 -07:00
2008-04-14 11:15:52 +02:00
2008-07-21 10:10:58 -07:00
2008-05-29 03:19:37 -07:00
2008-07-26 17:50:05 -07:00
2008-04-14 11:15:52 +02:00
2008-01-31 19:28:07 -08:00
2008-06-17 15:52:32 -07:00
2008-01-31 19:28:07 -08:00
2008-05-22 10:08:38 +02:00
2008-04-14 11:15:42 +02:00
2008-04-14 11:15:52 +02:00
2008-03-25 20:09:15 -07:00
2008-07-21 10:10:58 -07:00
2008-04-14 11:15:54 +02:00
2008-06-09 15:59:40 -07:00
2008-04-14 11:15:53 +02:00
2008-04-14 11:15:54 +02:00
2008-07-21 10:11:02 -07:00
2008-07-31 00:38:01 -07:00
2008-04-14 11:15:53 +02:00
2008-04-14 11:15:53 +02:00
2008-04-14 11:15:52 +02:00
2008-04-14 11:15:54 +02:00
2008-05-08 01:15:21 -07:00
2008-07-21 10:10:58 -07:00
2008-04-14 11:15:54 +02:00
2008-06-11 17:50:27 -07:00
2008-04-29 08:06:25 -07:00
2008-07-19 22:34:43 -07:00
2008-07-21 10:11:00 -07:00
2008-07-19 22:34:43 -07:00
2008-05-02 04:11:52 -07:00
2008-07-21 10:10:58 -07:00
2008-06-04 09:57:51 -07:00
2008-06-09 15:57:24 -07:00
2008-04-14 11:15:52 +02:00
2008-04-14 09:56:05 +02:00
2008-04-14 09:56:05 +02:00
2008-07-31 00:38:52 -07:00
2008-05-13 23:27:48 -07:00
2008-04-14 09:56:05 +02:00
2008-01-31 19:27:43 -08:00
2008-04-14 09:56:05 +02:00
2008-04-14 09:56:05 +02:00
2008-04-14 09:56:05 +02:00
2008-04-14 09:56:05 +02:00
2008-06-09 15:57:24 -07:00
2008-07-08 02:38:56 -07:00
2008-04-14 09:56:05 +02:00
2008-07-21 10:11:01 -07:00
2008-04-29 03:15:10 -07:00
2008-04-14 09:56:05 +02:00
2008-07-21 10:10:59 -07:00
2008-02-19 17:18:20 -08:00