aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/cls_api.c
diff options
context:
space:
mode:
authorJiri Pirko <[email protected]>2017-02-14 15:27:13 +0000
committerDavid S. Miller <[email protected]>2017-02-14 16:44:14 +0000
commitd7cf52c249d7aa797ea27808e1526604309ec142 (patch)
tree3f59271c852f253fab3b30c45db777fa7cb8fe7a /net/sched/cls_api.c
parentnet: qcom/emac: fix a sizeof() typo (diff)
downloadkernel-d7cf52c249d7aa797ea27808e1526604309ec142.tar.gz
kernel-d7cf52c249d7aa797ea27808e1526604309ec142.zip
sched: Fix accidental removal of errout goto
Bring back the goto that was removed by accident. Reported-by: Colin Ian King <[email protected]> Fixes: 40c81b25b16c ("sched: check negative err value to safe one level of indent") Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/sched/cls_api.c')
-rw-r--r--net/sched/cls_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c
index abe1fe13ae54..732f7cae459d 100644
--- a/net/sched/cls_api.c
+++ b/net/sched/cls_api.c
@@ -389,6 +389,7 @@ replay:
RTM_DELTFILTER, false);
if (tcf_proto_destroy(tp, false))
RCU_INIT_POINTER(*back, next);
+ goto errout;
case RTM_GETTFILTER:
err = tfilter_notify(net, skb, n, tp, fh,
RTM_NEWTFILTER, true);