diff options
| author | Colin Ian King <[email protected]> | 2019-04-05 13:59:16 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-04-07 01:29:14 +0000 |
| commit | ea401685a20b5d631957f024bda86e1f6118eb20 (patch) | |
| tree | dbd27dbe36f06f8bb6da5113f8ce4562b01ef9f1 /net/unix/af_unix.c | |
| parent | Merge branch 'r8152-runtime-mac-changes' (diff) | |
| download | kernel-ea401685a20b5d631957f024bda86e1f6118eb20.tar.gz kernel-ea401685a20b5d631957f024bda86e1f6118eb20.zip | |
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 <[email protected]>
Reviewed-by: Mukesh Ojha <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
