Re: [PATCH] cfg80211: fix elapsed_jiffies calculation
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2014-06-23 09:29:48
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2014-06-23 09:29:48
On Tue, 2014-06-17 at 13:07 +0300, Eliad Peller wrote:
MAX_JIFFY_OFFSET has no meaning when calculating the elapsed jiffies, as jiffies run out until ULONG_MAX. This miscalculation results in erroneous values in case of a wrap-around.
Applied, thanks. johannes