diff options
author | 2017-11-07 08:19:29 -0600 | |
---|---|---|
committer | 2018-01-08 18:01:01 +0100 | |
commit | e8542dcec002b31339f7771441fd5dffb42223ae (patch) | |
tree | f752ff266e184ef53e36ce4a5ed76f306979e89c /net/netfilter/ipset/ip_set_core.c | |
parent | netfilter: conntrack: l4 protocol trackers can be const (diff) | |
download | linux-e8542dcec002b31339f7771441fd5dffb42223ae.tar.gz linux-e8542dcec002b31339f7771441fd5dffb42223ae.tar.bz2 linux-e8542dcec002b31339f7771441fd5dffb42223ae.zip |
netfilter: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/ipset/ip_set_core.c')
-rw-r--r-- | net/netfilter/ipset/ip_set_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/ipset/ip_set_core.c b/net/netfilter/ipset/ip_set_core.c index cf84f7b37cd9..d5a43cad90f0 100644 --- a/net/netfilter/ipset/ip_set_core.c +++ b/net/netfilter/ipset/ip_set_core.c @@ -1386,7 +1386,7 @@ dump_last: goto next_set; if (set->variant->uref) set->variant->uref(set, cb, true); - /* Fall through and add elements */ + /* fall through */ default: rcu_read_lock_bh(); ret = set->variant->list(set, skb, cb); |