diff options
author | Mi Jinlong | 2011-10-12 09:09:34 +0200 |
---|---|---|
committer | Trond Myklebust | 2011-10-18 18:08:10 +0200 |
commit | b9dd3abbbc708da5e3c53424a5b2c66ab580f97e (patch) | |
tree | f24b18e9651fd93aaf871c3de99a8903a6c36826 /fs/ext2 | |
parent | nfs: don't redirty inode when ncommit == 0 in nfs_commit_unstable_pages (diff) | |
download | kernel-qcow2-linux-b9dd3abbbc708da5e3c53424a5b2c66ab580f97e.tar.gz kernel-qcow2-linux-b9dd3abbbc708da5e3c53424a5b2c66ab580f97e.tar.xz kernel-qcow2-linux-b9dd3abbbc708da5e3c53424a5b2c66ab580f97e.zip |
nfs: fix bug about IPv6 address scope checking
The result from ipv6_addr_scope() always not be a single SCOPE,
so we can't use equal to compare the result with IPV6_ADDR_SCOPE_LINKLOCAL
at nfs_sockaddr_match_ipaddr6.
This patch fixs the problem, and lets checking address before scope_id.
Signed-off-by: Mi Jinlong <mijinlong@cn.fujitsu.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/ext2')
0 files changed, 0 insertions, 0 deletions