sched: Fix accidental removal of errout goto
Subsystems (3)
Jiri Pirko
maintainerPATCH 1/1 sched: Fix accidental removal of errout goto
From: Jiri Pirko <[email protected]>
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]>
--- net/sched/cls_api.c | 1 + 1 file changed, 1 insertion(+)
net/sched/cls_api.c +1 -0
@@ -389,6 +389,7 @@ static int tc_ctl_tfilter(struct sk_buff *skb, struct nlmsghdr *n) 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);
Signature · 1 line
2.7.4
From: Jiri Pirko <[email protected]>
Date: Tue, 14 Feb 2017 16:27:13 +0100
Quoted 7 lines
From: Jiri Pirko <[email protected]>
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]>
Applied, thanks Jiri.