From: Mi Jinlong Date: Wed, 12 Oct 2011 07:09:34 +0000 (+0800) Subject: nfs: fix bug about IPv6 address scope checking X-Git-Tag: v3.2-rc1~176^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9dd3abbbc708da5e3c53424a5b2c66ab580f97e;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed