sctp: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:39:41 +0000 (12:39 -0600)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 18 May 2021 01:06:33 +0000 (20:06 -0500)
commit0572b37b27f4f26bfd53f0f10186fa1783b97421
tree0a276499e4c00cb80e1355abe6dcfceb2ad1531e
parent3754fa747dc0fb41cd1fd9a79bcb442dfe6802b3
sctp: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a couple
of warnings by explicitly adding a break statement and replacing a
comment with a goto statement instead of letting the code fall through
to the next case.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
net/sctp/input.c