]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: xt_time should not assume CONFIG_KTIME_SCALAR
authorEric Dumazet <dada1@cosmosbay.com>
Tue, 13 Nov 2007 11:49:53 +0000 (03:49 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Nov 2007 11:49:53 +0000 (03:49 -0800)
commit42f672f8972fc40f1aef1647a93a459873ec7db1
tree3c168853549faee76be49b724d8da21a56a13ff2
parent954dc1e7fb89a7058c379a74e266a7d6b2db5983
[NETFILTER]: xt_time should not assume CONFIG_KTIME_SCALAR

It is not correct to assume one can get nsec from a ktime directly by
using .tv64 field.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/xt_time.c