git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6d2f1c
)
nfs: fix bug about IPv6 address scope checking
author
Mi Jinlong
<mijinlong@cn.fujitsu.com>
Wed, 12 Oct 2011 07:09:34 +0000
(15:09 +0800)
committer
J. Bruce Fields
<bfields@redhat.com>
Wed, 12 Oct 2011 14:30:29 +0000
(10:30 -0400)
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 <mijinlong@cn.fujitsu.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
No differences found