diff options
| author | Daniel Borkmann <daniel@iogearbox.net> | 2016-09-23 01:28:36 +0200 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2022-04-19 00:51:46 +0300 |
| commit | be326ad58cc8e9be9e8902d670c9d144d1af4d8b (patch) | |
| tree | 32837e6ca3e4987b6f4f7b99f37946128302c37a /kernel_headers.py | |
| parent | 96faaeaafcac45ef8872c53b67fcfa1a72c4d758 (diff) | |
bpf: use bpf_get_smp_processor_id_proto instead of raw one
Same motivation as in commit 80b48c445797 ("bpf: don't use raw processor
id in generic helper"), but this time for XDP typed programs. Thus, allow
for preemption checks when we have DEBUG_PREEMPT enabled, and otherwise
use the raw variant.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel_headers.py')
0 files changed, 0 insertions, 0 deletions
