From owner-cvs-src@FreeBSD.ORG Wed Oct 19 13:34:49 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07F6616A41F; Wed, 19 Oct 2005 13:34:49 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAB1A43D46; Wed, 19 Oct 2005 13:34:48 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j9JDYmdM088816; Wed, 19 Oct 2005 13:34:48 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j9JDYm02088815; Wed, 19 Oct 2005 13:34:48 GMT (envelope-from glebius) Message-Id: <200510191334.j9JDYm02088815@repoman.freebsd.org> From: Gleb Smirnoff Date: Wed, 19 Oct 2005 13:34:48 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/em if_em.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2005 13:34:49 -0000 glebius 2005-10-19 13:34:48 UTC FreeBSD src repository Modified files: sys/dev/em if_em.c Log: In the em_process_receive_interrupts() cycle check the IFF_DRV_RUNNING flag. This fixes panic, when 'ifconfig em0 down' was called and it calls em_stop() while the em_process_receive_interrupts() has temporarily dropped the lock. Revision Changes Path 1.79 +3 -1 src/sys/dev/em/if_em.c