From: Daniel Borkmann <dan...@iogearbox.net> Date: Wed, 10 Feb 2016 16:47:11 +0100
> When ctx access is used, the kernel often needs to expand/rewrite > instructions, so after that patching, branch offsets have to be > adjusted for both forward and backward jumps in the new eBPF program, > but for backward jumps it fails to account the delta. Meaning, for > example, if the expansion happens exactly on the insn that sits at > the jump target, it doesn't fix up the back jump offset. ... > Fixes: 9bac3d6d548e ("bpf: allow extended BPF programs access skb fields") > Signed-off-by: Daniel Borkmann <dan...@iogearbox.net> Applied and queued up for -stable, thanks Daniel.