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

    > > 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?

    [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
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:56    [W:0.020 / U:55.008 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site