netdata_patch_1_4_5: Apply patch to libbpf

This commit is contained in:
thiagoftsm
2024-07-12 01:29:34 +00:00
parent 6923eb970e
commit 4b8a035521

View File

@@ -97,6 +97,9 @@ __u32 get_kernel_version(void)
if (sscanf(info.release, "%u.%u.%u", &major, &minor, &patch) != 3)
return 0;
if (major == 4 && minor == 19 && patch > 255)
return KERNEL_VERSION(major, minor, 255);
return KERNEL_VERSION(major, minor, patch);
}