Skip to content

Commit d7cf52c

Browse files
jpirkodavem330
authored andcommitted
sched: Fix accidental removal of errout goto
Bring back the goto that was removed by accident. Reported-by: Colin Ian King <colin.king@canonical.com> Fixes: 40c81b2 ("sched: check negative err value to safe one level of indent") Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 2194bd1 commit d7cf52c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎net/sched/cls_api.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ static int tc_ctl_tfilter(struct sk_buff *skb, struct nlmsghdr *n)
389389
RTM_DELTFILTER, false);
390390
if (tcf_proto_destroy(tp, false))
391391
RCU_INIT_POINTER(*back, next);
392+
goto errout;
392393
case RTM_GETTFILTER:
393394
err = tfilter_notify(net, skb, n, tp, fh,
394395
RTM_NEWTFILTER, true);

0 commit comments

Comments
 (0)