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~177^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5703728ac1194baee554163180415baf4ccd9996;p=pandora-kernel.git nfs: fix bug about IPv6 address scope checking The result from ipv6_addr_scope() is a set of flags, not a single value, so we can't just compare the result with IPV6_ADDR_SCOPE_LINKLOCAL. This patch fixs the problem, and checks for unequal addresses before scope_id. Signed-off-by: Mi Jinlong Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed