summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2023-11-02 08:30:27 +0300
committerAlexei Starovoitov <ast@kernel.org>2023-11-02 08:30:28 +0300
commitb479d38ba959a8e3ffc4d9f760a9f2e4b9027e66 (patch)
treefb460b6b1633d37877ab1ffe856a8d9ca5b30d21 /net
parent05670f81d1287c40ec861186e4c4e3401013e7fb (diff)
parent85eb035e6cfd615071256592e1dbe72c1d99c24b (diff)
downloadlinux-b479d38ba959a8e3ffc4d9f760a9f2e4b9027e66.tar.xz
Merge branch 'bpf-fix-incorrect-immediate-spill'
Hao Sun says: ==================== bpf: Fix incorrect immediate spill Immediate is incorrectly cast to u32 before being spilled, losing sign information. The range information is incorrect after load again. Fix immediate spill by remove the cast. The second patch add a test case for this. Signed-off-by: Hao Sun <sunhao.th@gmail.com> --- Changes in v3: - Change the expected log to fix the test case - Link to v2: https://lore.kernel.org/r/20231101-fix-check-stack-write-v2-0-cb7c17b869b0@gmail.com Changes in v2: - Add fix and cc tags. - Link to v1: https://lore.kernel.org/r/20231026-fix-check-stack-write-v1-0-6b325ef3ce7e@gmail.com --- ==================== Link: https://lore.kernel.org/r/20231101-fix-check-stack-write-v3-0-f05c2b1473d5@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions