Skip to content

Commit

Permalink
daemon: Do not detect devices for IPsec
Browse files Browse the repository at this point in the history
Since IPsec is not yet using the detected devices, disable
detection if only IPsec is enabled.

This fixes a failure in IPsec L7 tests. Root cause still
unknown why detecting the devices causes issues.

Signed-off-by: Jussi Maki <jussi@isovalent.com>
  • Loading branch information
joamaki authored and borkmann committed Oct 1, 2021
1 parent 4ac0944 commit 74fbca2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions daemon/cmd/devices.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,7 @@ func expandDevices() error {
func areDevicesRequired() bool {
return option.Config.EnableNodePort ||
option.Config.EnableHostFirewall ||
option.Config.EnableBandwidthManager ||
option.Config.EnableIPSec
option.Config.EnableBandwidthManager
}

func findK8SNodeIPLink() (netlink.Link, error) {
Expand Down

0 comments on commit 74fbca2

Please sign in to comment.