From owner-freebsd-net Tue Sep 17 15:33: 2 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F32437B401 for ; Tue, 17 Sep 2002 15:33:01 -0700 (PDT) Received: from outboundx.mv.meer.net (outboundx.mv.meer.net [209.157.152.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id A867343E77 for ; Tue, 17 Sep 2002 15:33:00 -0700 (PDT) (envelope-from gnn@neville-neil.com) Received: from mail.meer.net (mail.meer.net [209.157.152.14]) by outboundx.mv.meer.net (8.11.6/8.11.6) with ESMTP id g8HMWlG49098 for ; Tue, 17 Sep 2002 15:32:47 -0700 (PDT) (envelope-from gnn@neville-neil.com) Received: from neville-neil.com ([209.157.133.226]) by mail.meer.net (8.12.1/8.12.1/meer) with ESMTP id g8HMWxde015311 for ; Tue, 17 Sep 2002 15:33:00 -0700 (PDT) Message-Id: <200209172233.g8HMWxde015311@mail.meer.net> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: freebsd-net@freebsd.org Subject: Possible mbuf leak in if_fxp.c Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 17 Sep 2002 15:32:59 -0700 From: "George V. Neville-Neil" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Folks, I note that in -STABLE, in the file dev/if_fxp.c, the routine fxp_start() calls bpf_mtap() a few lines before the end of the function. There is no associated "free" with this call. It looks like fxp_intr_body() is supposed to free transmitted packets, but I'm not sure this is happening. Can someone verify my (il)logic? Thanks, George -- George V. Neville-Neil gnn@neville-neil.com Neville-Neil Consulting www.neville-neil.com "I learn only to be contented." inscription at Ryoan-ji in Kyoto, Japan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message