SUNRPC: compare scopeid for link-local addresses
authorMi Jinlong <mijinlong@cn.fujitsu.com>
Tue, 30 Aug 2011 09:22:49 +0000 (17:22 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 14 Sep 2011 12:22:02 +0000 (08:22 -0400)
commit038c01598e728cda5b2996c4bf883e8485b2fe50
tree6d2dbb22183d308fd3e85ddfea2286f0e77b99af
parent849a1cf13d4394d398d91752166e92e9ecd64f8d
SUNRPC: compare scopeid for link-local addresses

For ipv6 link-local addresses, sunrpc do not compare those scope id.
This patch let sunrpc compares scope id only on link-local addresses.

Signed-off-by: Mi Jinlong <mijinlong@cn.fujitsu.com>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/clnt.h