Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Nov 2009 15:43:07 +0000 (UTC)
From:      Jaakko Heinonen <jh@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/fs/nfsclient nfs_clvnops.c
Message-ID:  <200911111543.nABFhNqj082971@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jh          2009-11-11 15:43:07 UTC

  FreeBSD src repository

  Modified files:
    sys/fs/nfsclient     nfs_clvnops.c 
  Log:
  SVN rev 199189 on 2009-11-11 15:43:07Z by jh
  
  Create verifier used by FreeBSD NFS client is suboptimal because the
  first part of a verifier is set to the first IP address from
  V_in_ifaddrhead list. This address is typically the loopback address
  making the first part of the verifier practically non-unique. The second
  part of the verifier is initialized to zero making its initial value
  non-unique too.
  
  This commit changes the strategy for create verifier initialization:
  just initialize it to a random value. Also move verifier handling into
  its own function and use a mutex to protect the variable.
  
  This change is a candidate for porting to sys/nfsclient.
  
  Reviewed by:    jhb, rmacklem
  Approved by:    trasz (mentor)
  
  Revision  Changes    Path
  1.15      +25 -14    src/sys/fs/nfsclient/nfs_clvnops.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911111543.nABFhNqj082971>