aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMatthieu Baerts <[email protected]>2021-06-25 21:25:22 +0000
committerDavid S. Miller <[email protected]>2021-06-28 20:04:06 +0000
commitc4512c63b1193c73b3f09c598a6d0a7f88da1dd8 (patch)
tree40a9dcb2b65b79b400e2c01e536a55ed86f04804 /net/switchdev/switchdev.c
parentMerge branch 'reset-mac' (diff)
downloadkernel-c4512c63b1193c73b3f09c598a6d0a7f88da1dd8.tar.gz
kernel-c4512c63b1193c73b3f09c598a6d0a7f88da1dd8.zip
mptcp: fix 'masking a bool' warning
Dan Carpenter reported an issue introduced in commit fde56eea01f9 ("mptcp: refine mptcp_cleanup_rbuf") where a new boolean (ack_pending) is masked with 0x9. This is not the intention to ignore values by using a boolean. This variable should not have a 'bool' type: we should keep the 'u8' to allow this comparison. Fixes: fde56eea01f9 ("mptcp: refine mptcp_cleanup_rbuf") Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Matthieu Baerts <[email protected]> Signed-off-by: Mat Martineau <[email protected]> Acked-by: Paolo Abeni <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions