net/packet: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:38:20 +0000 (12:38 -0600)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 18 May 2021 00:57:18 +0000 (19:57 -0500)
commit5af5a020ddd10afc6caff05b4c941c2b1c17bf1d
tree58f849bafdb3f8d3dade5fea889f4752f044b178
parent6518e3fc972ed54772f81e8b89b17be47f6d55f3
net/packet: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a break 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/packet/af_packet.c