Sub-Interface deletion not cleanup hash's properly (VPP-1136) 68/10168/2
authorJohn Lo <loj@cisco.com>
Thu, 18 Jan 2018 17:44:50 +0000 (12:44 -0500)
committerDave Wallace <dwallacelf@gmail.com>
Fri, 19 Jan 2018 16:46:03 +0000 (16:46 +0000)
commit5957a14329ab174e1215a914296cade8de8865e9
tree90590a4ea5f91291e9506177468c8e347a138aa4
parent2167355e1657af1991085b880bb0dd0331093f4e
Sub-Interface deletion not cleanup hash's properly (VPP-1136)

On deleting sub-interfaces, functions vnet_delete_sub_interface()
and vnet_delete_hw_interface() are not cleaning up sub-interface
related hash tables and memory properly.

Change-Id: I17c7c4b2078c062c77bfe48889beb677610035ca
Signed-off-by: John Lo <loj@cisco.com>
(cherry picked from commit 7f5bec647c9dc743c015d461d040e63a77fd0a08)
src/vnet/ethernet/interface.c
src/vnet/interface.c
src/vppinfra/hash.h