Thread (4 messages) flat view 4 messages, 3 authors, 2018-07-26

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

From: Jiri Pirko <jiri@resnulli.us>
Date: 2018-07-25 14:33:52
Also in: lkml

Wed, Jul 25, 2018 at 04:07:24PM CEST, gustavo@embeddedor.com 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 <redacted>
Acked-by: Jiri Pirko <redacted>

I'm just writing a selftest to test this path. Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help