commit | d8f3e978bd30014081c599456285ca1d58c2aae1 | [log] [tgz] |
---|---|---|
author | David Miller <davem@redhat.com> | Mon Nov 26 13:42:41 2018 -0800 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Mon Nov 26 23:10:27 2018 +0100 |
tree | 16031a2c1fc047a49c38fb4a3024e9cc3797e1eb | |
parent | 4afe60a97ba6ffacc4d030b13653dc64099fea26 [diff] |
bpf: Avoid unnecessary instruction in convert_bpf_ld_abs() 'offset' is constant and if it is zero, no need to subtract it from BPF_REG_TMP. Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>