This PR changes the bridge-cni mac spoof protection to only read the required chain on CNI DELs (instead of the entire ruleset). This is required since without it we read the entire ruleset, which takes too long when there are plenty of provisioned rules.
It requires an updated version of go-nft, which also imposes a timeout when trying to read the NFT configuration.
These 2 features will hopefully reduce the time it takes to teardown pod networking on CNI DELs.
This PR changes the
bridge-cni
mac spoof protection to only read the required chain on CNI DELs (instead of the entire ruleset). This is required since without it we read the entire ruleset, which takes too long when there are plenty of provisioned rules.It requires an updated version of
go-nft
, which also imposes a timeout when trying to read the NFT configuration.These 2 features will hopefully reduce the time it takes to teardown pod networking on CNI DELs.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2175041