projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db5fe26
)
NFS: Fix a typo in nfs_sockaddr_match_ipaddr6
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Sun, 12 Sep 2010 23:55:26 +0000
(19:55 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Sun, 12 Sep 2010 23:55:26 +0000
(19:55 -0400)
Reported-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
fs/nfs/client.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/client.c
b/fs/nfs/client.c
index 4e7df2adb2125724a4ea9ade0fc767606d54c4b3..e7340729af896e2bce1097fe4f8521618680173e 100644
(file)
--- 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, &sin
1
->sin6_addr);
+ return ipv6_addr_equal(&sin1->sin6_addr, &sin
2
->sin6_addr);
}
#else /* !defined(CONFIG_IPV6) && !defined(CONFIG_IPV6_MODULE) */
static int nfs_sockaddr_match_ipaddr6(const struct sockaddr *sa1,