]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r222075
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 2 Jun 2011 20:57:36 +0000 (20:57 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 2 Jun 2011 20:57:36 +0000 (20:57 +0000)
commit2df5ec0beeb08e58ca027ab19c90ec4a09b57aa6
tree9fc8ff49bc916b398d299771a360f5fea9fce4b6
parent0a36fd67a3ff0f7d12e289530c4d4d46bfb32cd6
MFC: r222075
Add a sanity check for the existence of an "addr" option
to both NFS clients. This avoids the crash reported by
Sergey Kandaurov (pluknet@gmail.com) to the freebsd-fs@
list with subject "[old nfsclient] different nmount()
args passed from mount vs mount_nfs" dated May 17, 2011.

git-svn-id: svn://svn.freebsd.org/base/stable/8@222629 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsclient/nfs_clvfsops.c
sys/nfsclient/nfs_vfsops.c