CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2026/06/08 21:20:01

Modified files:
        sys/nfs        : nfs_socket.c 

Log message:
switch nfs_getreq() to nfsd_adv()

from miod@ ok jsg@

This round of commits was prompted by a double-free report
from Andrew Griffiths at Calif.

server nfs request mbuf pointers were stored in two structs:
nmi_mrep in struct nfsm_info
nd_mrep in struct nfsrv_descript
but only set to NULL after m_freem() in nmi_mrep

This problem is avoided by removing the use of struct nfsm_info
in the server paths and passing struct nfsrv_descript to
new versions of the nfsm functions.

Reply via email to