acl-plugin: don't attempt to delete the ACLs on interface deletion if ACL plugin... 42/8042/2
authorAndrew Yourtchenko <ayourtch@gmail.com>
Mon, 14 Aug 2017 18:49:23 +0000 (20:49 +0200)
committerNeale Ranns <nranns@cisco.com>
Tue, 15 Aug 2017 15:00:59 +0000 (15:00 +0000)
commite9ab1c0b4a8d9ae930fbc5522c8d56a0a7a49608
treebe018a1f3f10c33adf43ea6f74b6dbb7dd7283d5
parent8dc802062bfe7f71cbff02306e50400a374e4659
acl-plugin: don't attempt to delete the ACLs on interface deletion if ACL plugin heap is not initialized

With the addition of the own heap, the delete routines called from interface deletion
callback may attempt to initialize the ACL plugin heap. This is obviously not
a desirable condition - so, return early from the callback if the ACL plugin
heap has not been initialized yet - there is for sure nothing to clean up.

Change-Id: I08a6ae725294016ff5824189ade91c288e2c473b
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
src/plugins/acl/acl.c