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



> On Dec 8, 2023, at 10:55 AM, Jason Thorpe <thorpej%me.com@localhost> wrote:
> 
> Probably what’s 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 == 0) {
			*tl++ = 0;
			*tl++ = 0;
		} else {
</quote>

(From their nfsrpc_readdirplus().)

-- thorpej



Home | Main Index | Thread Index | Old Index