Skip to content

Commit

Permalink
skip 4.14
Browse files Browse the repository at this point in the history
  • Loading branch information
safchain committed Nov 22, 2024
1 parent c1ca1a7 commit 230f5fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/security/probe/probe_ebpf.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func (p *EBPFProbe) selectFentryMode() {
}

func (p *EBPFProbe) isNetworkNotSupported() bool {
return p.kernelVersion.IsRH7Kernel() || (p.kernelVersion.IsAmazonLinuxKernel() && p.kernelVersion.Code < kernel.Kernel4_14)
return p.kernelVersion.IsRH7Kernel() || (p.kernelVersion.IsAmazonLinuxKernel() && p.kernelVersion.Code < kernel.Kernel4_15)
}

func (p *EBPFProbe) sanityChecks() error {
Expand Down
2 changes: 1 addition & 1 deletion pkg/security/tests/network_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func TestRawPacket(t *testing.T) {
checkKernelCompatibility(t, "RHEL, SLES, SUSE and Oracle kernels", func(kv *kernel.Version) bool {
// TODO: Oracle because we are missing offsets
// OpenSUSE distributions are missing the dummy kernel module
return kv.IsRH7Kernel() || kv.IsOracleUEKKernel() || kv.IsSLESKernel() || kv.IsOpenSUSELeapKernel() || (kv.IsAmazonLinuxKernel() && kv.Code < kernel.Kernel4_14)
return kv.IsRH7Kernel() || kv.IsOracleUEKKernel() || kv.IsSLESKernel() || kv.IsOpenSUSELeapKernel() || (kv.IsAmazonLinuxKernel() && kv.Code < kernel.Kernel4_15)
})

if testEnvironment != DockerEnvironment && !env.IsContainerized() {
Expand Down

0 comments on commit 230f5fa

Please sign in to comment.