NetBSD Problem Report #46980

From  Tue Sep 18 13:45:11 2012
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 61A5563B907
	for <>; Tue, 18 Sep 2012 13:45:11 +0000 (UTC)
Message-Id: <>
Date: Tue, 18 Sep 2012 15:44:59 +0200 (CEST)
Subject: genfs rename code failed to call vrele() on special error
X-Send-Pr-Version: 3.95

>Number:         46980
>Category:       kern
>Synopsis:       genfs rename code failed to call vrele() on special error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 18 13:50:00 +0000 2012
>Originator:     Dr. Wolfgang Stukenbrock
>Release:        NetBSD current
Dr. Nagler & Company GmbH

System: NetBSD test-s0 4.0 NetBSD 4.0 (NSW-WS) #0: Tue Aug 17 17:28:09 CEST 2010 wgstuken@test-s0:/usr/src/sys/arch/amd64/compile/NSW-WS amd64
Architecture: x86_64
Machine: amd64
	in genfs_rename_enter_common() if the destination is '.' the allocated
	tvp vnode is not released again.
	EISDIR is returned, but the ' goto fail2' will only release the
	previously allocated fvp vnode.
	This problem only comes up if someone is tryining to rename
	something to '...xx/.', so this is a rare case in real world ...
	found by a look into the sources
	add another label in the chain of lables and call vrele(tvp) ...


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.