feature: reset interface feature arc on interface deletion 33/29833/2
authorBenoît Ganne <bganne@cisco.com>
Wed, 4 Nov 2020 09:02:03 +0000 (10:02 +0100)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 12 Nov 2020 12:33:31 +0000 (12:33 +0000)
commite36b854a72e1740c2c267b3ca80bde28d26f876e
tree10fe9b6997e37e227c4c1556c5654b4371669486
parent087d81dafad8ff52e3704357e1ee2d87b0aed694
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>
(cherry picked from commit 6178bdafa6a318d50cc8ad82f07c6c798c7024ef)
src/vnet/arp/arp.c
src/vnet/config.c
src/vnet/config.h
src/vnet/feature/feature.c
src/vnet/interface.h