Description of problem: When the NFS client sends a SETCLIENTID, the r_addr field contains only the port number. The ip addr is null. As a result, an NFS server can never grant a delegation to the NFS client. Version-Release number of selected component (if applicable): How reproducible: Easy to reproduce. Steps to Reproduce: (while capturing a network trace) 1. Mount a filesystem using NFS v4 2. Create a file 3. Note the SETCLIENTID's r_addr field in the network trace. There's no ip addr -- just a port number. Actual results: Expected results: Additional info: This problem was introduced into the mainline kernel in 2.6.19-rc1. It was fixed in 2.6.19-rc2. RHEL5 includes the code that has the bug but not the code that has the fix. The bug is in nfs/fs/client.c. The 2.6.19-rc2 patch that fixes it is: commit 7d9ac06f26fe8d477c813405f1a8c7c90eecef2d Author: J. Bruce Fields <bfields> Date: Thu Oct 19 23:28:39 2006 -0700 [PATCH] nfs4: initialize cl_ipaddr David forgot to do this. I'm not sure if this is the right place to put it.... Signed-off-by: J. Bruce Fields <bfields.edu> Signed-off-by: Trond Myklebust <Trond.Myklebust> Signed-off-by: Andrew Morton <akpm> Signed-off-by: Linus Torvalds <torvalds> Another missing patch is: commit 13bbc06af8a5f65df0f888b442e557c617cadba7 Author: Trond Myklebust <Trond.Myklebust> Date: Thu Oct 19 23:28:40 2006 -0700 [PATCH] NFS: Fix NFSv4 callback regression The change in semantics for nfs_find_client() introduced by David breaks the NFSv4 callback channel. Also, replace another completely broken BUG_ON() in nfs_find_client(). In initialised clients, clp->cl_cons_state == 0, and callers of that function should in any case never want to see clients that are uninitialised. Signed-off-by: Trond Myklebust <Trond.Myklebust> Signed-off-by: Andrew Morton <akpm> Signed-off-by: Linus Torvalds <torvalds> Fedora 7 has the fixes.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
This bugzilla has Keywords: Regression. Since no regressions are allowed between releases, it is also being proposed as a blocker for this release. Please resolve ASAP.
*** Bug 412871 has been marked as a duplicate of this bug. ***
in 2.6.18-62.el5 You can download this test kernel from http://people.redhat.com/dzickus/el5
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0314.html