git: kernel - Fix two NFS crashes

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Jul 17 20:56:27 PDT 2014


commit 966299f632b47957bccab788e2eca8bde4c2c2b6
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/966299f632b47957bccab788e2eca8bde4c2c2b6


-- 
DragonFly BSD source repository



More information about the Commits mailing list