Skip to content

Commit f9557e9

Browse files
committed
Add missing sysctl bacports for very old kernels
1 parent 0b86d81 commit f9557e9

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/actions/build-kernel/action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1474,6 +1474,13 @@ runs:
14741474
rm temp.patch
14751475
fi
14761476
1477+
if [ "${{ env.ANDROID_VER }}" = "android12" ] && [ "${{ env.KERNEL_VER }}" = "5.10" ]; then
1478+
if ! grep -qF 'int proc_dou8vec_minmax(' ./include/linux/sysctl.h; then
1479+
curl -Ls https://raw.githubusercontent.com/fatalcoder524/kernel_patches_additional/refs/heads/main/bbr3/sysctl_add_proc_dou8vec_minmax.patch | patch -p1
1480+
curl -Ls https://raw.githubusercontent.com/fatalcoder524/kernel_patches_additional/refs/heads/main/bbr3/sysctl_fix_data-races_in_proc_dou8vec_minmax.patch | patch -p1
1481+
fi
1482+
fi
1483+
14771484
echo "✅ BBRv3 patches applied"
14781485
echo "::endgroup::"
14791486

0 commit comments

Comments
 (0)