[PATCH 4.14 0/3] powerpc/bpf: Various fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a backport of the remaining patches from the below series:
https://lore.kernel.org/all/cover.1633464148.git.naveen.n.rao@xxxxxxxxxxxxxxxxxx/

Kindly apply to the longterm tree for v4.14

Thanks,
Naveen


Naveen N. Rao (3):
  powerpc/lib: Add helper to check if offset is within conditional
    branch range
  powerpc/bpf: Validate branch ranges
  powerpc/bpf: Fix BPF_SUB when imm == 0x80000000

 arch/powerpc/include/asm/code-patching.h |  1 +
 arch/powerpc/lib/code-patching.c         |  7 ++++-
 arch/powerpc/net/bpf_jit.h               | 33 +++++++++++++--------
 arch/powerpc/net/bpf_jit_comp64.c        | 37 +++++++++++++++---------
 4 files changed, 52 insertions(+), 26 deletions(-)


base-commit: 0447aa205abe1c0c016b4f7fa9d7c08d920b5c8e
-- 
2.33.1




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux