mbox series

[stable,5.15,0/1] bpf: Fix map poke update

Message ID 20240103142557.4009040-1-jolsa@kernel.org (mailing list archive)
Headers show
Series bpf: Fix map poke update | expand

Message

Jiri Olsa Jan. 3, 2024, 2:25 p.m. UTC
hi,
sending the 5.15 backport of map poke update fix [1].

It's not straight backport, the details are in changelog. I also backported
the bpf selftest [2] to reproduce the issue and verify the fix, but it's more
deviated from the upstream so I decided not to post it. Also I had to fix bpf
selftests on other place to be able to compile them.

thanks,
jirka


[1] 4b7de801606e ("bpf: Fix prog_array_map_poke_run map poke update")
[2] ffed24eff9e0 ("selftests/bpf: Add test for early update in prog_array_map_poke_run")
---
Jiri Olsa (1):
      bpf: Fix prog_array_map_poke_run map poke update

 arch/x86/net/bpf_jit_comp.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 include/linux/bpf.h         |  3 +++
 kernel/bpf/arraymap.c       | 58 ++++++++++------------------------------------------------
 3 files changed, 59 insertions(+), 48 deletions(-)

Comments

Greg KH Jan. 3, 2024, 4:40 p.m. UTC | #1
On Wed, Jan 03, 2024 at 03:25:56PM +0100, Jiri Olsa wrote:
> hi,
> sending the 5.15 backport of map poke update fix [1].
> 
> It's not straight backport, the details are in changelog. I also backported
> the bpf selftest [2] to reproduce the issue and verify the fix, but it's more
> deviated from the upstream so I decided not to post it. Also I had to fix bpf
> selftests on other place to be able to compile them.

Thanks, now queue dup.

greg k-h