[Openswan dev] [PATCH] Fix jiffies wrapping problems

David McCullough david_mccullough at mcafee.com
Fri Feb 3 18:02:01 EST 2012


Hi dev,

Here's a patch to fix a jiffies wrapping problem.  On 32bit systems
with current kernels jiffies wrap 5 minutes after booting.  Any tunnels
that are brought up before the wrap are affected.  The time values in
/proc/net/ipsec_spi become bogus (very large) after the wrap. 

I went through and found any other jiffies calculations I thought needed
work while there,

Cheers,
Davidm

-- 
David McCullough,      david_mccullough at mcafee.com,  Ph:+61 734352815
McAfee - SnapGear      http://www.mcafee.com         http://www.uCdot.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openswan-jiffies-wrap.patch
Type: text/x-diff
Size: 3269 bytes
Desc: not available
URL: <http://lists.openswan.org/pipermail/dev/attachments/20120204/2cf143f1/attachment.bin>


More information about the Dev mailing list