git: DragonFly_RELEASE_3_8 kernel - Fix two NFS crashes

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jul 20 11:08:35 PDT 2014


commit c5e32e20a1b8e980bc237cf1aea7b9d7855c4bb5
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Jul 17 20:54:42 2014 -0700

    kernel - Fix two NFS crashes
    
    * Fix a bug during unmount when sillyrenames are being terminated.
      When doing a forced unmount, the sillyrename vnode(s) may be VBAD.
      Do not attempt to flush the sillyrename in this case.
    
    * Fix a bug for 'soft' mounts.  Soft failures do not properly set the
      error code which can lead to a NULL pointer dereference in the rpc
      processing code.
    
      Set the error code to EINTR for soft mounts whos retries have been
      exceeded.

Summary of changes:
 sys/vfs/nfs/nfs_socket.c | 21 +++++++++++++++++++--
 sys/vfs/nfs/nfs_vnops.c  |  4 ++++
 2 files changed, 23 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c5e32e20a1b8e980bc237cf1aea7b9d7855c4bb5


-- 
DragonFly BSD source repository



More information about the Commits mailing list