From: Jiri Pirko Date: Tue, 14 Feb 2017 15:27:13 +0000 (+0100) Subject: sched: Fix accidental removal of errout goto X-Git-Tag: v4.14-rc1~1463^2~114 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d7cf52c249d7aa797ea27808e1526604309ec142;p=platform%2Fkernel%2Flinux-rpi.git sched: Fix accidental removal of errout goto Bring back the goto that was removed by accident. Reported-by: Colin Ian King Fixes: 40c81b25b16c ("sched: check negative err value to safe one level of indent") Signed-off-by: Jiri Pirko Signed-off-by: David S. Miller --- diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c index abe1fe1..732f7ca 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);