DragonFly commits List (threaded) for 2005-03
cvs commit: src/sys/vfs/nfs nfs_socket.c
dillon 2005/03/24 11:58:19 PST
DragonFly src repository
Fix a server-side TCP NFS mount stream sequencing problem which could result
in portions of the TCP stream being parsed out of order, corrupting it and
causing the NFS server to drop the connection.
The TCP protocol stack upcalls into nfsrv_rcv(). The various nfsd threads
also call nfsrv_rcv(). A short blocking condition in the parsing code plus
the blocking lock on the sockbuf (when called via an nfsd) could result in
data from the socket being incorporated into the nfs socket's mbuf chain
out of order.
Reported-by: Andreas Hauser <andy@xxxxxxxxxxxxxxx>
Revision Changes Path
1.24 +50 -22 src/sys/vfs/nfs/nfs_socket.c