diff options
| author | Alexei Starovoitov <[email protected]> | 2024-04-24 22:55:29 +0000 |
|---|---|---|
| committer | Martin KaFai Lau <[email protected]> | 2024-04-25 17:48:40 +0000 |
| commit | 8ec3bf5c31d2a59c320ff59397f6ac362341d9d7 (patch) | |
| tree | bf3311fccbe189adc9b5c517807599e111d9da8f /net/ipv4/tcp_input.c | |
| parent | Merge branch 'BPF crypto API framework' (diff) | |
| download | kernel-8ec3bf5c31d2a59c320ff59397f6ac362341d9d7.tar.gz kernel-8ec3bf5c31d2a59c320ff59397f6ac362341d9d7.zip | |
bpf: Add bpf_guard_preempt() convenience macro
Add bpf_guard_preempt() macro that uses newly introduced
bpf_preempt_disable/enable() kfuncs to guard a critical section.
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Kumar Kartikeya Dwivedi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions
