From owner-cvs-all Sat Dec 12 13:45:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA00497 for cvs-all-outgoing; Sat, 12 Dec 1998 13:45:51 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA00492; Sat, 12 Dec 1998 13:45:50 -0800 (PST) (envelope-from dillon@FreeBSD.org) From: Matt Dillon Received: (from dillon@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id NAA15151; Sat, 12 Dec 1998 13:45:50 -0800 (PST) Date: Sat, 12 Dec 1998 13:45:50 -0800 (PST) Message-Id: <199812122145.NAA15151@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/netinet igmp.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk dillon 1998/12/12 13:45:49 PST Modified files: sys/netinet igmp.c Log: PR: kern/8990 If timer calculation results in degenerate value (0), force it to 1 to avoid divide-by-zero panic later on in calls to IGMP_RANDOM_DELAY(). I considered simply adding 1 to the timer calculation, but was unsure if the calculation was part of the IGMP standard or not so did not want to mess with it for all cases. Revision Changes Path 1.26 +3 -1 src/sys/netinet/igmp.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message