From: Andrew Yourtchenko Date: Tue, 8 Aug 2017 11:27:30 +0000 (+0200) Subject: acl-plugin: fix a misplaced return (VPP-910) X-Git-Tag: v17.10-rc1~275 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=commitdiff_plain;h=80cb2584c3fecec59c75f94726a95d2b2adce188 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) --- 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; }