NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/57691: NFS client regression with macOS 14 server



The following reply was made to PR kern/57691; it has been noted by GNATS.

From: Jason Thorpe <thorpej%me.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: kern-bug-people%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost,
 NetBSD Kernel Technical Discussion List <tech-kern%NetBSD.org@localhost>
Subject: Re: kern/57691: NFS client regression with macOS 14 server
Date: Fri, 8 Dec 2023 11:17:49 -0800

 > On Dec 8, 2023, at 10:55=E2=80=AFAM, Jason Thorpe <thorpej%me.com@localhost> =
 wrote:
 >=20
 > Probably what=E2=80=99s going on is that the server is verifying the =
 directory cookie more strictly than before.  Those two lines that pack =
 the cookieverf should be inserting 0s if uno_offset is 0.
 
 Just confirmed by code inspection that FreeBSD always sends a 0 cookie =
 verifier for uio_offset 0.
 
 <quote>
 		if (cookie.qval =3D=3D 0) {
 			*tl++ =3D 0;
 			*tl++ =3D 0;
 		} else {
 </quote>
 
 (=46rom their nfsrpc_readdirplus().)
 
 -- thorpej
 


Home | Main Index | Thread Index | Old Index