From owner-freebsd-bugs Wed Feb 7 22:40:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA26699 for bugs-outgoing; Wed, 7 Feb 1996 22:40:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA26682 Wed, 7 Feb 1996 22:40:02 -0800 (PST) Resent-Date: Wed, 7 Feb 1996 22:40:02 -0800 (PST) Resent-Message-Id: <199602080640.WAA26682@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, mike@marker.cs.utah.edu Received: from marker.cs.utah.edu (marker.cs.utah.edu [155.99.212.61]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id WAA25553 for ; Wed, 7 Feb 1996 22:33:29 -0800 (PST) Received: (from mike@localhost) by marker.cs.utah.edu (8.6.11/8.6.9) id XAA20538; Wed, 7 Feb 1996 23:33:28 -0700 Message-Id: <199602080633.XAA20538@marker.cs.utah.edu> Date: Wed, 7 Feb 1996 23:33:28 -0700 From: Mike Hibler Reply-To: mike@marker.cs.utah.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/1001: M_NAMEI malloc leak in the kernel Sender: owner-bugs@freebsd.org Precedence: bulk >Number: 1001 >Category: kern >Synopsis: M_NAMEI malloc leak in the kernel >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 7 22:40:01 PST 1996 >Last-Modified: >Originator: Mike Hibler >Organization: Univ. of Utah >Release: FreeBSD 2.1.0-950726-SNAP i386 >Environment: N/A >Description: nfs_vnops.c:nfs_link leaks a M_NAMEI buffer if it fails with EXDEV. This is due to the commented out VOP_ABORTOP (I have no idea why this is commented out, it just always has been). >How-To-Repeat: vmstat -m # note the memory use of namei cd ln /kernel foo # should fail with cross-dev link vmstat -m # see namei grow, grow namei grow >Fix: Stick in "FREE(cnp->cn_pnbuf, M_NAMEI)" >Audit-Trail: >Unformatted: