lkml.org 
[lkml]   [2000]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: slip.c is not jiffy wrap proof in 2.2 and 2.3
Date
Hello!

> > I found that drivers/net/slip.c in 2.2 and in 2.3 is not jiffy wrap proof.
> > it has this code 'if (jiffies - dev->trans_start < 20 * HZ) {'
> That seems wrap proof to me since both of the values are unsigned. In fact
> time_after is an inline of exactly this.
Inline casts everything to long, and there is a comment, that
urges everyone to use these inlines. And after all if this is
wrap proof, then why everybody else converted to these inlines?

Bye,
Oleg
--
[RAVE *SUCKS* TEAM] [Team $Ui(iDE] [Trans-M Must Die!] [Sepultura Fans Team]
[Tolkien forever team]

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.263 / U:0.776 seconds]
©2003-2014 Jasper Spaans. Advertise on this site