From owner-cvs-all Wed Jan 10 14:54:14 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 52CE037B69C; Wed, 10 Jan 2001 14:53:53 -0800 (PST) Received: (from archie@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0AMrr746705; Wed, 10 Jan 2001 14:53:53 -0800 (PST) (envelope-from archie) Message-Id: <200101102253.f0AMrr746705@freefall.freebsd.org> From: Archie Cobbs Date: Wed, 10 Jan 2001 14:53:53 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/lmc if_lmc.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG archie 2001/01/10 14:53:53 PST Modified files: sys/dev/lmc if_lmc.c Log: lmc_ifup() was not checking the state of the interface. This would cause the watchdog to (incorrectly) detect the interface state going from down to up one second after lmc_ifup() was called, causing lmc_ifup() to be called again, and resetting everything. Fix by checking the interface state within lmc_ifup(). Submitted by: Darren Croke Revision Changes Path 1.12 +9 -4 src/sys/dev/lmc/if_lmc.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message