git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'release-2.6.27' of git://git.kernel.org/pub/scm/linux/kernel/git/ak...
[pandora-kernel.git]
/
net
/
netfilter
/
xt_time.c
diff --git
a/net/netfilter/xt_time.c
b/net/netfilter/xt_time.c
index
ed76baa
..
9f32859
100644
(file)
--- a/
net/netfilter/xt_time.c
+++ b/
net/netfilter/xt_time.c
@@
-173,7
+173,7
@@
time_mt(const struct sk_buff *skb, const struct net_device *in,
__net_timestamp((struct sk_buff *)skb);
stamp = ktime_to_ns(skb->tstamp);
-
do_div
(stamp, NSEC_PER_SEC);
+
stamp = div_s64
(stamp, NSEC_PER_SEC);
if (info->flags & XT_TIME_LOCAL_TZ)
/* Adjust for local timezone */