summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-04-05 14:59:16 +0100
committerDavid S. Miller <davem@davemloft.net>2019-04-06 18:29:14 -0700
commitea401685a20b5d631957f024bda86e1f6118eb20 (patch)
treedbd27dbe36f06f8bb6da5113f8ce4562b01ef9f1 /tools
parentafdb3df2925a240fd6e73ca53fdb885e90da88ba (diff)
downloadlinux-ea401685a20b5d631957f024bda86e1f6118eb20.tar.bz2
net: hns: fix unsigned comparison to less than zero
Currently mskid is unsigned and hence comparisons with negative error return values are always false. Fix this by making mskid an int. Fixes: f058e46855dc ("net: hns: fix ICMP6 neighbor solicitation messages discard problem") Addresses-Coverity: ("Operands don't affect result") Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Mukesh Ojha <mojha@codeaurora.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions