aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2013-12-21 05:39:04 +0100
committerTrond Myklebust <trond.myklebust@primarydata.com>2014-01-05 15:38:21 -0500
commita8c2275493b866961f4429a741251c630c4fc6d7 (patch)
tree469cf74c0112e426aa48a3e93f3ceec91eb8b959 /tools
parentsunrpc: Fix infinite loop in RPC state machine (diff)
downloadlinux-dev-a8c2275493b866961f4429a741251c630c4fc6d7.tar.xz
linux-dev-a8c2275493b866961f4429a741251c630c4fc6d7.zip
nfs: fix dead code of ipv6_addr_scope
The correct way to check on IPV6_ADDR_SCOPE_LINKLOCAL is to check with the ipv6_addr_src_scope function. Currently this can't be work, because ipv6_addr_scope returns a int with a mask of IPV6_ADDR_SCOPE_MASK (0x00f0U) and IPV6_ADDR_SCOPE_LINKLOCAL is 0x02. So the condition is always false. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions