From 80cb2584c3fecec59c75f94726a95d2b2adce188 Mon Sep 17 00:00:00 2001 From: Andrew Yourtchenko Date: Tue, 8 Aug 2017 13:27:30 +0200 Subject: [PATCH] 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 (cherry picked from commit 58013b73509521789608f24a79a00177797ff9b1) --- src/plugins/acl/acl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.16.6