diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-09-13 01:55:26 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-09-13 01:55:26 +0200 |
commit | b20d37ca9561711c6a3c4b859c2855f49565e061 (patch) | |
tree | fa8aba0a2a7e7b2c246e9c35e04526aafdb623d3 /fs/nfs | |
parent | sunrpc: increase MAX_HASHTABLE_BITS to 14 (diff) | |
download | linux-b20d37ca9561711c6a3c4b859c2855f49565e061.tar.xz linux-b20d37ca9561711c6a3c4b859c2855f49565e061.zip |
NFS: Fix a typo in nfs_sockaddr_match_ipaddr6
Reported-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c index 4e7df2adb212..e7340729af89 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c @@ -275,7 +275,7 @@ static int nfs_sockaddr_match_ipaddr6(const struct sockaddr *sa1, sin1->sin6_scope_id != sin2->sin6_scope_id) return 0; - return ipv6_addr_equal(&sin1->sin6_addr, &sin1->sin6_addr); + return ipv6_addr_equal(&sin1->sin6_addr, &sin2->sin6_addr); } #else /* !defined(CONFIG_IPV6) && !defined(CONFIG_IPV6_MODULE) */ static int nfs_sockaddr_match_ipaddr6(const struct sockaddr *sa1, |