diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2018-02-07 20:27:12 -0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-02-08 11:59:50 +0100 |
commit | b7d99235473ad3a550f8eb05bd4469edadf1c8e6 (patch) | |
tree | 0f897f1ba4aea853430402787fdd0d043f0f30a9 /tools/lib/bpf/libbpf.c | |
parent | 035d808f7cfd578dc210b584beb17e365f34d39a (diff) |
nfp: bpf: fix immed relocation for larger offsets
Immed relocation is missing a shift which means for larger
offsets the lower and higher part of the address would be
ORed together.
Fixes: ce4ebfd859c3 ("nfp: bpf: add helpers for updating immediate instructions")
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Jiong Wang <jiong.wang@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions