From owner-svn-src-all@FreeBSD.ORG Thu Apr 16 23:08:02 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA3B2106564A; Thu, 16 Apr 2009 23:08:02 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B8C328FC14; Thu, 16 Apr 2009 23:08:02 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n3GN829w095018; Thu, 16 Apr 2009 23:08:02 GMT (envelope-from kmacy@svn.freebsd.org) Received: (from kmacy@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n3GN822G095017; Thu, 16 Apr 2009 23:08:02 GMT (envelope-from kmacy@svn.freebsd.org) Message-Id: <200904162308.n3GN822G095017@svn.freebsd.org> From: Kip Macy Date: Thu, 16 Apr 2009 23:08:02 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r191162 - head/sys/dev/e1000 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Apr 2009 23:08:03 -0000 Author: kmacy Date: Thu Apr 16 23:08:02 2009 New Revision: 191162 URL: http://svn.freebsd.org/changeset/base/191162 Log: call base if_qflush routine to flush if_snd Modified: head/sys/dev/e1000/if_em.c Modified: head/sys/dev/e1000/if_em.c ============================================================================== --- head/sys/dev/e1000/if_em.c Thu Apr 16 23:05:10 2009 (r191161) +++ head/sys/dev/e1000/if_em.c Thu Apr 16 23:08:02 2009 (r191162) @@ -1055,6 +1055,7 @@ em_qflush(struct ifnet *ifp) EM_TX_LOCK(adapter); while ((m = buf_ring_dequeue_sc(adapter->br)) != NULL) m_freem(m); + if_qflush(ifp); EM_TX_UNLOCK(adapter); }