From owner-cvs-src@FreeBSD.ORG Mon Apr 14 21:06:02 2003 Return-Path: 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 A799C37B401; Mon, 14 Apr 2003 21:06:02 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 469E243F85; Mon, 14 Apr 2003 21:06:02 -0700 (PDT) (envelope-from silby@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 h3F4620U031000; Mon, 14 Apr 2003 21:06:02 -0700 (PDT) (envelope-from silby@repoman.freebsd.org) Received: (from silby@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3F4618W030999; Mon, 14 Apr 2003 21:06:02 -0700 (PDT) Message-Id: <200304150406.h3F4618W030999@repoman.freebsd.org> From: Mike Silbersack Date: Mon, 14 Apr 2003 21:06:01 -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/pci if_rl.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 15 Apr 2003 04:06:03 -0000 silby 2003/04/14 21:06:01 PDT FreeBSD src repository Modified files: sys/pci if_rl.c Log: Rework the rl_encap failure case. Previously, we would stuff the unencapsulated packet back into the IFQ. Unfortunately, the only reason rl_encap would fail was due to m_defrag failing, which should only happen when we're low on mbufs. Hence, it was possible for us to end up with an IFQ full of packets which could never clear the queue because they could never be defragmented because they were themselves taking up all the mbufs. To solve this, take if_xl's approach to the problem of encapsulation failure: drop the packet. MFC after: 3 days Revision Changes Path 1.94 +3 -3 src/sys/pci/if_rl.c