Re: [PATCH 7/10]: Avoid `division by zero' errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/25/06, Gerrit Renker <gerrit@xxxxxxxxxxxxxx> wrote:
[CCID 3]: Avoid `division by zero' errors

Several places of the code divide by the current RTT value. A division-by-zero
error results if this value is 0.
To protect against this,
   * DCCP_BUG_ON conditions are added throughout the tx code;

I can't remember what the definition of DCCP_BUG_ON was in the end.

If it does follow the BUG path then I would like this changed to
DCCP_WARN... so that we don't kill the machine.

Ian
--
Ian McDonald
Web: http://wand.net.nz/~iam4
Blog: http://imcdnzl.blogspot.com
WAND Network Research Group
Department of Computer Science
University of Waikato
New Zealand
-
To unsubscribe from this list: send the line "unsubscribe dccp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [IETF DCCP]     [Linux Networking]     [Git]     [Security]     [Linux Assembly]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux