Subject: Re: [PATCH] net: sched: cls_api: fix dead code in switch

From: Jiri Pirko <[email-masked]>
Date: Wed, 25 Jul 2018 16:31:23 +0200

Wed, Jul 25, 2018 at 04:07:24PM CEST, [email-masked] wrote:
>Code at line 1850 is unreachable. Fix this by removing the break
>statement above it, so the code for case RTM_GETCHAIN can be
>properly executed.
>
>Addresses-Coverity-ID: 1472050 ("Structurally dead code")
>Fixes: 32a4f5ecd738 ("net: sched: introduce chain object to uapi")
>Signed-off-by: Gustavo A. R. Silva <[email-masked]>

Acked-by: Jiri Pirko <[email-masked]>

I'm just writing a selftest to test this path. Thanks.