看板 DFBSD_commit 關於我們 聯絡資訊
dillon 2005/03/24 11:58:19 PST DragonFly src repository Modified files: sys/vfs/nfs nfs_socket.c Log: 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@splashground.de> Revision Changes Path 1.24 +50 -22 src/sys/vfs/nfs/nfs_socket.c http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_socket.c.diff?r1=1.23&r2=1.24&f=u