summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorMi Jinlong <mijinlong@cn.fujitsu.com>2011-10-12 15:09:34 +0800
committerJ. Bruce Fields <bfields@redhat.com>2011-10-12 10:30:29 -0400
commit5703728ac1194baee554163180415baf4ccd9996 (patch)
tree721eff2e021212310ebb22518c7b0d3d8a5bf1cc /fs/nfsd
parentb6d2f1ca3c1162f51098969e9c52fd099720416a (diff)
downloadop-kernel-dev-5703728ac1194baee554163180415baf4ccd9996.zip
op-kernel-dev-5703728ac1194baee554163180415baf4ccd9996.tar.gz
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 <mijinlong@cn.fujitsu.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud