DragonFly BSD
DragonFly commits List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/vfs/nfs nfs_socket.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 24 Mar 2005 11:58:20 -0800 (PST)

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@xxxxxxxxxxxxxxx>
  
  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



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