]> git.karo-electronics.de Git - karo-tx-linux.git/commit
netfilter: xt_time: fix time's time_mt()'s use of do_div()
authorDavid Howells <dhowells@redhat.com>
Thu, 31 Jul 2008 18:48:23 +0000 (20:48 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Aug 2008 16:03:14 +0000 (09:03 -0700)
commit1e692471cb57278d87d09530c6af4f0aaab13a79
treeeb9325f617ac56d13768c2f21bb101bfdaff97b9
parent8a96da25a1436abf27a6a467f5bfe803feb1b484
netfilter: xt_time: fix time's time_mt()'s use of do_div()

[ Upstream commit 280763c053fee297d95b474f2c145990670371e6 ]

Fix netfilter xt_time's time_mt()'s use of do_div() on an s64 by using
div_s64() instead.

This was introduced by patch ee4411a1b1e0b679c99686629b5eab5a072ce49f
("[NETFILTER]: x_tables: add xt_time match").

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
CC: Oliver Pinter <oliver.pntr@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/netfilter/xt_time.c