login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
July
»
15
Re: [PATCH] Fix netfilter xt_time's time_mt()'s use of do_div()
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Jan Engelhardt <jengelh@...>
To: Patrick McHardy <kaber@...>
Cc: David Howells <dhowells@...>, <akpm@...>, <netdev@...>, <linux-kernel@...>
Subject:
Re: [PATCH] Fix netfilter xt_time's time_mt()'s use of do_div()
Date: Tuesday, July 15, 2008 - 8:08 am
On Tuesday 2008-07-15 13:43, Patrick McHardy wrote:
quoted text
> David Howells wrote: >> 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. > > Alternatively we could use an u64 for the time. Jan, any preferences?
ktime_t and ktime_to_ns operate on signed quantities. I do not think we should be interpreting it as unsigned. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] Fix netfilter xt_time's time_mt()'s use of do_div()
, David Howells
, (Fri Jul 11, 10:02 am)
Re: [PATCH] Fix netfilter xt_time's time_mt()'s use of do_di...
, Patrick McHardy
, (Tue Jul 15, 7:43 am)
Re: [PATCH] Fix netfilter xt_time's time_mt()'s use of do_di...
, Jan Engelhardt
, (Tue Jul 15, 8:08 am)
Re: [PATCH] Fix netfilter xt_time's time_mt()'s use of do_di...
, Patrick McHardy
, (Tue Jul 15, 8:10 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Linus Torvalds
Linux 2.6.27-rc8
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Linus Torvalds
Linux 2.6.20-rc6
Mike Snitzer
Re: Distributed storage.
git
:
linux-netdev
:
Gerrit Renker
[PATCH 03/37] dccp: List management for new feature negotiation
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Herbert Xu
Re: Kernel oops with 2.6.26, padlock and ipsec: probably problem with fpu state ch...
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
773 guests
online.
Online users
mercy44ben
Syndicate