diff options
| author | Ravi Bangoria <[email protected]> | 2021-06-22 16:30:26 +0530 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2021-06-28 15:11:43 +0200 |
| commit | 328aac5ecd119ede3633f7d17969b1ff34ccc784 (patch) | |
| tree | b927e9dcc360dc260d50e1b5797a55563ee18070 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
| parent | a196fa78a26571359740f701cf30d774eb8a72cb (diff) | |
bpf, x86: Fix extable offset calculation
Commit 4c5de127598e1 ("bpf: Emit explicit NULL pointer checks for PROBE_LDX
instructions.") is emitting a couple of instructions before the actual load.
Consider those additional instructions while calculating extable offset.
Fixes: 4c5de127598e1 ("bpf: Emit explicit NULL pointer checks for PROBE_LDX instructions.")
Signed-off-by: Ravi Bangoria <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions