feature: reset interface feature arc on interface deletion 51/29751/3
authorBenoît Ganne <bganne@cisco.com>
Wed, 4 Nov 2020 09:02:03 +0000 (10:02 +0100)
committerDamjan Marion <dmarion@me.com>
Thu, 5 Nov 2020 12:36:31 +0000 (12:36 +0000)
commit6178bdafa6a318d50cc8ad82f07c6c798c7024ef
tree16cc8c40ad15444d1a4bfc4c4f5e9595ee379648
parent9c4a582dca7c819ebf3eccd70482d7a03853b51e
feature: reset interface feature arc on interface deletion

When removing an interface we must reset all per-interface per-feature
arc data to ensure we do not get wrong feature arc config data when the
sw_if_index is recycled.

Type: fix

Change-Id: I8c9d850d7c62b7b77193da4258ab5fb9bdda85a6
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/vnet/arp/arp.c
src/vnet/config.c
src/vnet/config.h
src/vnet/feature/feature.c
src/vnet/interface.h