]> git.proxmox.com Git - mirror_ovs.git/commit - lib/tc.c
tc: Fix build breakage on GCC 7 by annotating fall-through.
authorBen Pfaff <blp@ovn.org>
Mon, 27 Nov 2017 00:26:41 +0000 (16:26 -0800)
committerBen Pfaff <blp@ovn.org>
Mon, 27 Nov 2017 17:25:56 +0000 (09:25 -0800)
commiteeb0ca88e430e9a09a56e14cfc974e1f02e17007
treeb6f7b9e0e49ff18592b2461e7a0b2f6623d60c0c
parentbbf219ef584a102fde5150defab3a769a6a44981
tc: Fix build breakage on GCC 7 by annotating fall-through.

Open vSwitch enables the GCC 7+ option that warns about fall-through
switch statements.  This commit fixes newly introduced warnings.

Fixes: d6118e628988 ("netdev-tc-offloads: Verify csum flags on dump from tc")
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Paul Blakey <paulb@mellanox.com>
lib/tc.c