The branch main has been updated by rmacklem:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=274b0d6b113bba84a049aac3d324a10b98e52f32

commit 274b0d6b113bba84a049aac3d324a10b98e52f32
Author:     Rick Macklem <[email protected]>
AuthorDate: 2026-09-14 23:55:32 +0000
Commit:     Rick Macklem <[email protected]>
CommitDate: 2026-09-14 23:55:32 +0000

    nfs_nfsdkrpc.c: Fix the "glue" for the nfsrdma.ko modules for NFSv3
    
    Without this patch, nd_xprt is only set for NFSv4.1/4.2.
    The nfsrdma.ko needs it to be set for all versions of NFS,
    so this one line patch does that.
    
    No semantics change for non-RDMA NFS service.
    
    MFC after:      3 months
    Fixes:  7144a1d58c5c ("nfsd: Add glue for the nfsrdma.ko module")
---
 sys/fs/nfsserver/nfs_nfsdkrpc.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys/fs/nfsserver/nfs_nfsdkrpc.c b/sys/fs/nfsserver/nfs_nfsdkrpc.c
index d96a8c354276..181e93a9ac1f 100644
--- a/sys/fs/nfsserver/nfs_nfsdkrpc.c
+++ b/sys/fs/nfsserver/nfs_nfsdkrpc.c
@@ -506,8 +506,7 @@ nfs_proc(struct nfsrv_descript *nd, u_int32_t xid, SVCXPRT 
*xprt,
         * RC_DROPIT - just throw the request away
         */
        if (cacherep == RC_DOIT) {
-               if ((nd->nd_flag & ND_NFSV41) != 0)
-                       nd->nd_xprt = xprt;
+               nd->nd_xprt = xprt;
                nfsrvd_dorpc(nd, isdgram, tagstr, taglen, minorvers);
                if ((nd->nd_flag & ND_NFSV41) != 0) {
                        if (nd->nd_repstat != NFSERR_REPLYFROMCACHE &&

Reply via email to