Subject: kern/33990: NFS code assumes static file handle size
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <martin@duskware.de>
List: netbsd-bugs
Date: 07/13/2006 12:25:00
>Number:         33990
>Category:       kern
>Synopsis:       NFS code assumes static file handle size
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 13 12:25:00 +0000 2006
>Originator:     Martin Husemann
>Release:        NetBSD 3.99.21
>Organization:
>Environment:
System: NetBSD martins.aprisoft.de 3.99.21 NetBSD 3.99.21 (MARTINS) #0: Thu Jun 29 18:07:35 CEST 2006 martin@martins.aprisoft.de:/usr/src/sys/arch/amd64/compile/MARTINS amd64
Architecture: x86_64
Machine: amd64
>Description:
The NFS server code assumes the local host has a fixed size of filehandles.
This is not true in -current anymore.

We should consider to adapt the code better and get rid of constant NFSX_V3FH
and instead use the real fid-size in use on the exported filesystem.
>How-To-Repeat:
code inspection
>Fix: