lkml.org 
[lkml]   [2000]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [NFS] [PATCH] Re: grow_inodes: inode-max limit reached - how to find/fix the inode leak?
From
Date
>>>>> " " == Michael Riepe <michael@stud.uni-hannover.de> writes:

> There is an inode leak in lockd, caused by a reference counting
> bug. It will appear when you use DOS/Windows clients to access
> a knfsd+lockd based NFS server, and it will crash the server
> sooner or later (a DOS attack, literally ;). The lockd bug is
> still alive in 2.4.0-test?, so upgrading doesn't help either.

> I'll attach my patch for 2.2.16. It should apply to
> 2.4.0-test? too, with one or two lines of fuzz maybe.

Hi Michael,

Your patch does not seem correct to me. IMO you should rather be
calling nlm_release_file() in both cases where you applied
'put_file()'.

Cheers,
Trond
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.037 / U:5.024 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site