commit | b7d99235473ad3a550f8eb05bd4469edadf1c8e6 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Wed Feb 07 20:27:12 2018 -0800 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Thu Feb 08 11:59:50 2018 +0100 |
tree | 0f897f1ba4aea853430402787fdd0d043f0f30a9 | |
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>