aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2017-08-08 13:27:30 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2017-08-08 13:27:04 +0000
commit80cb2584c3fecec59c75f94726a95d2b2adce188 (patch)
treec44a95645c8e7e6eb3d3ff74d7cf72bedc58a9ec
parentde9fbf43d2b0293dde4f8a7fa50f7f7abbc7585f (diff)
acl-plugin: fix a misplaced return (VPP-910)
It was uncaught by make test because the corresponding tests are not there yet - part of 17.10 deliverables Change-Id: I55456f1874ce5665a06ee411c7abf37cd19ed814 Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com> (cherry picked from commit 58013b73509521789608f24a79a00177797ff9b1)
-rw-r--r--src/plugins/acl/acl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/acl/acl.c b/src/plugins/acl/acl.c
index 3c1e819ede8..70dc8c634db 100644
--- a/src/plugins/acl/acl.c
+++ b/src/plugins/acl/acl.c
@@ -411,8 +411,8 @@ acl_classify_add_del_table_small (vnet_classify_main_t * cm, u8 * mask,
table_index, current_data_flag,
current_data_offset, is_add,
1 /* delete_chain */);
- return ret;
clib_mem_set_heap (oldheap);
+ return ret;
}