xfrm: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:41:00 +0000 (12:41 -0600)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 18 May 2021 01:11:06 +0000 (20:11 -0500)
commit135436a7d2cdd505aacc142f7f57e388b23ba73e
tree6256e244f0298a6e553f047ae44f45f3e954d4d6
parent1c78ba4924107b06de60f887a0d20d9b3e9bc9e2
xfrm: 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/xfrm/xfrm_interface.c