diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2008-08-20 22:10:23 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-10-08 00:17:47 +0200 |
commit | ea31a4437c59219bf3ea946d58984b01a45a289c (patch) | |
tree | d386f91c39461c7505e614f0b281f0e7e9b99298 /net/nonet.c | |
parent | nfs: prepare to share nfs_set_port (diff) | |
download | linux-ea31a4437c59219bf3ea946d58984b01a45a289c.tar.xz linux-ea31a4437c59219bf3ea946d58984b01a45a289c.zip |
nfs: Fix misparsing of nfsv4 fs_locations attribute
The code incorrectly assumes here that the server name (or ip address)
is null-terminated. This can cause referrals to fail in some cases.
Also support ipv6 addresses.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/nonet.c')
0 files changed, 0 insertions, 0 deletions