sched: Fix accidental removal of errout goto
authorJiri Pirko <jiri@mellanox.com>
Tue, 14 Feb 2017 15:27:13 +0000 (16:27 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Feb 2017 16:44:14 +0000 (11:44 -0500)
Bring back the goto that was removed by accident.

Reported-by: Colin Ian King <colin.king@canonical.com>
Fixes: 40c81b25b16c ("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>
net/sched/cls_api.c

index abe1fe1..732f7ca 100644 (file)
@@ -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);