summaryrefslogtreecommitdiff
path: root/kernel/sysctl_binary.c
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2016-01-06 22:32:16 +0100
committerMichael Bestas <mkbestas@lineageos.org>2022-04-19 00:50:25 +0300
commit84cbe200721a55423300ebb818cd1a54f912f7d1 (patch)
treeb1555fa77687c3c3dd648a6294ed175a6943575a /kernel/sysctl_binary.c
parent6bff0d68d68f17a56ff85d6396e22fa85a3e1ad6 (diff)
bpf: cleanup bpf_prog_run_{save,clear}_cb helpers
Move the details behind the cb[] access into a small helper to decouple and make them generic for bpf_prog_run_save_cb()/bpf_prog_run_clear_cb() that was introduced via commit ff936a04e5f2 ("bpf: fix cb access in socket filter programs"). Also add a comment to better clarify what is done in bpf_skb_cb(). Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Chatur27 <jasonbright2709@gmail.com>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions