diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-02-14 10:27:13 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-14 11:44:14 -0500 |
commit | d7cf52c249d7aa797ea27808e1526604309ec142 (patch) | |
tree | 3f59271c852f253fab3b30c45db777fa7cb8fe7a /net/sched/cls_api.c | |
parent | 2194bd1080210c6e85ea262cda9ad0135b3f3c87 (diff) |
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: 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>
Diffstat (limited to 'net/sched/cls_api.c')
-rw-r--r-- | net/sched/cls_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c index abe1fe13ae54..732f7cae459d 100644 --- a/net/sched/cls_api.c +++ b/net/sched/cls_api.c | |||
@@ -389,6 +389,7 @@ replay: | |||
389 | RTM_DELTFILTER, false); | 389 | RTM_DELTFILTER, false); |
390 | if (tcf_proto_destroy(tp, false)) | 390 | if (tcf_proto_destroy(tp, false)) |
391 | RCU_INIT_POINTER(*back, next); | 391 | RCU_INIT_POINTER(*back, next); |
392 | goto errout; | ||
392 | case RTM_GETTFILTER: | 393 | case RTM_GETTFILTER: |
393 | err = tfilter_notify(net, skb, n, tp, fh, | 394 | err = tfilter_notify(net, skb, n, tp, fh, |
394 | RTM_NEWTFILTER, true); | 395 | RTM_NEWTFILTER, true); |