Commit d7cf52c2 authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller

sched: Fix accidental removal of errout goto

Bring back the goto that was removed by accident.
Reported-by: default avatarColin Ian King <colin.king@canonical.com>
Fixes: 40c81b25 ("sched: check negative err value to safe one level of indent")
Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2194bd10
...@@ -389,6 +389,7 @@ static int tc_ctl_tfilter(struct sk_buff *skb, struct nlmsghdr *n) ...@@ -389,6 +389,7 @@ static int tc_ctl_tfilter(struct sk_buff *skb, struct nlmsghdr *n)
RTM_DELTFILTER, false); RTM_DELTFILTER, false);
if (tcf_proto_destroy(tp, false)) if (tcf_proto_destroy(tp, false))
RCU_INIT_POINTER(*back, next); RCU_INIT_POINTER(*back, next);
goto errout;
case RTM_GETTFILTER: case RTM_GETTFILTER:
err = tfilter_notify(net, skb, n, tp, fh, err = tfilter_notify(net, skb, n, tp, fh,
RTM_NEWTFILTER, true); RTM_NEWTFILTER, true);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment