On Fri, Jan 12, 2018 at 05:17:15PM +0100, Jiri Slaby wrote:
Hi,
this is a backport of these patches which I did for our kernels: c237ee5eb33b bpf: add bpf_patch_insn_single helper 3df126f35f88 bpf: don't (ab)use instructions to store state e245c5c6a565 bpf: move fixup_bpf_calls() function 79741b3bdec0 bpf: refactor fixup_bpf_calls() 8041902dae52 bpf: adjust insn_aux_data when patching insns b2157399cc98 bpf: prevent out-of-bounds speculation
I offer it here for use in stable 4.4, if there is no better/simpler backport available yet.
Thanks for all of these, now queued up.
I've also attempted a backport for 4.9, and also for 4.14 and queued them up. I'll go run the selftests to see how well that actually worked or not...
greg k-h