]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
netfilter: xt_time: fix time's time_mt()'s use of do_div()
authorDavid Howells <dhowells@redhat.com>
Mon, 21 Jul 2008 17:02:12 +0000 (10:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jul 2008 17:10:59 +0000 (10:10 -0700)
commit280763c053fee297d95b474f2c145990670371e6
treedaa5d6b0107318e1fb0fe4c7184c77ab0d40b6ff
parent584015727a3b88b46602b20077b46cd04f8b4ab3
netfilter: xt_time: fix time's time_mt()'s use of do_div()

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>
net/netfilter/xt_time.c