]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nfnetlink_log: fix timeout handling
authorEric Leblond <eric@inl.fr>
Wed, 18 Feb 2009 14:29:49 +0000 (15:29 +0100)
committerPatrick McHardy <kaber@trash.net>
Wed, 18 Feb 2009 14:29:49 +0000 (15:29 +0100)
commitf94b431513c3c78f94ff1e458b62bca6202a4a5d
treed9756b4f587ed87bab7f4b5751c13f136a103372
parentfcb9462da5db3f1ad8b81799d96ef54f18d453a8
netfilter: nfnetlink_log: fix timeout handling

NFLOG timeout was computed in timer by doing:

    flushtimeout*HZ/100

Default value of flushtimeout was HZ (for 1 second delay). This was
wrong for non 100HZ computer. This patch modify the default delay by
using 100 instead of HZ.

Signed-off-by: Eric Leblond <eric@inl.fr>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/nfnetlink_log.c