diff options
author | Alexander Aring <alex.aring@gmail.com> | 2013-12-21 04:39:04 (GMT) |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-04-03 08:32:14 (GMT) |
commit | 2e3b72ab7008ddfad528d2711a8f95c9ef942f7b (patch) | |
tree | d183caf04993c191400c6fd7abd44558dea72ec1 /crypto/serpent_generic.c | |
parent | da6bf1d4a5ac4141869039c2a36bf1c80ed36953 (diff) | |
download | linux-fsl-qoriq-2e3b72ab7008ddfad528d2711a8f95c9ef942f7b.tar.xz |
nfs: fix dead code of ipv6_addr_scope
commit a8c2275493b866961f4429a741251c630c4fc6d7 upstream.
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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'crypto/serpent_generic.c')
0 files changed, 0 insertions, 0 deletions