Re: [PATCH 2/4] KEYS: Check starting keyring as part of search
From: David Howells
Date: Wed Feb 13 2008 - 07:35:31 EST
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> > + (keyring->expiry && now.tv_sec >= keyring->expiry))
>
> time_after()?
Possibly. tv_sec oughtn't to wrap, though. I thought time_after() is really
for comparing jiffies which might wrap.
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/