From owner-cvs-all@FreeBSD.ORG Mon Jun 23 16:23:49 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB1FF37B401; Mon, 23 Jun 2003 16:23:49 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8813143FA3; Mon, 23 Jun 2003 16:23:49 -0700 (PDT) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h5NNNn0U092752; Mon, 23 Jun 2003 16:23:49 -0700 (PDT) (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5NNNnJZ092748; Mon, 23 Jun 2003 16:23:49 -0700 (PDT) Message-Id: <200306232323.h5NNNnJZ092748@repoman.freebsd.org> From: Nate Lawson Date: Mon, 23 Jun 2003 16:23:49 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/fxp if_fxp.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2003 23:23:50 -0000 njl 2003/06/23 16:23:49 PDT FreeBSD src repository Modified files: sys/dev/fxp if_fxp.c Log: Drop locks before calling if_input() since it may re-enter fxp_start() in the netisr case. This would result in a lock reversal. This fixes the net.isr.enable=1 case. Better performance might be obtained by chaining all packets received, dropping the lock, and then calling if_input() on each one. Reported by: hmp Revision Changes Path 1.184 +10 -0 src/sys/dev/fxp/if_fxp.c