From owner-cvs-all@FreeBSD.ORG Sat Mar 22 18:13:40 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 238DA106566B; Sat, 22 Mar 2008 18:13:40 +0000 (UTC) (envelope-from qingli@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 02E338FC23; Sat, 22 Mar 2008 18:13:40 +0000 (UTC) (envelope-from qingli@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m2MIDdGg090019; Sat, 22 Mar 2008 18:13:39 GMT (envelope-from qingli@repoman.freebsd.org) Received: (from qingli@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2MIDdSq090018; Sat, 22 Mar 2008 18:13:39 GMT (envelope-from qingli) Message-Id: <200803221813.m2MIDdSq090018@repoman.freebsd.org> From: Qing Li Date: Sat, 22 Mar 2008 18:13:39 +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/fxp if_fxp.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 22 Mar 2008 18:13:40 -0000 qingli 2008-03-22 18:13:39 UTC FreeBSD src repository Modified files: sys/dev/fxp if_fxp.c Log: Reuse the mbuf that was just retrieved from the receive ring if mbuf exhaustion is encountered. There was a fix made previously for this problem but the solution (breaking out of the receive loop) does not seem to work. mbuf reuse strategy is already adopted by other drivers such as if_bge. The problem was recreated and the patch is also verified in the same test environment. Revision Changes Path 1.267 +17 -8 src/sys/dev/fxp/if_fxp.c