Messages in this thread |  | | | From | Oleg Drokin <> | | Subject | Re: slip.c is not jiffy wrap proof in 2.2 and 2.3 | | Date | Wed, 1 Mar 100 18:36:36 +0200 (EET) |
| |
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/
|  |