ip: Reference count the enabling the punt feature 83/35783/3
authorNeale Ranns <neale@graphiant.com>
Fri, 25 Mar 2022 08:51:58 +0000 (08:51 +0000)
committerFlorin Coras <florin.coras@gmail.com>
Wed, 30 Mar 2022 18:31:21 +0000 (18:31 +0000)
commit80af13d7405c5d9b2510244aa1318bdef6c41fcf
tree27e2eb570977b8609be480eed2ca6bc7f9cff1aa
parent299571aca34d36e637e43cfbba6275662d0d7795
ip: Reference count the enabling the punt feature

Type: fix

otherwise punt features are applied multiple times to the same packet if enabled multiple times

Signed-off-by: Neale Ranns <neale@graphiant.com>
Change-Id: If0cbd9065275f68a10fd6d35e4f7a7c7508245e0
src/vnet/ip/ip4_punt_drop.c
src/vnet/ip/ip6_punt_drop.c