diff options
author | Martin KaFai Lau <kafai@fb.com> | 2020-03-20 08:21:01 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-03-23 20:51:55 +0100 |
commit | ab14fd4ee82ead4b058034509971b8bd749862ff (patch) | |
tree | 6560d904aeea7c1aeb23f3a2cff643c28a9eeaca /drivers/devfreq | |
parent | 1440e7929392297f1578a54f372e9821bb1b0658 (diff) | |
download | linux-stable-ab14fd4ee82ead4b058034509971b8bd749862ff.tar.gz linux-stable-ab14fd4ee82ead4b058034509971b8bd749862ff.tar.bz2 linux-stable-ab14fd4ee82ead4b058034509971b8bd749862ff.zip |
bpf: Add bpf_sk_storage support to bpf_tcp_ca
This patch adds bpf_sk_storage_get() and bpf_sk_storage_delete()
helper to the bpf_tcp_ca's struct_ops. That would allow
bpf-tcp-cc to:
1) share sk private data with other bpf progs.
2) use bpf_sk_storage as a private storage for a bpf-tcp-cc
if the existing icsk_ca_priv is not big enough.
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20200320152101.2169498-1-kafai@fb.com
Diffstat (limited to 'drivers/devfreq')
0 files changed, 0 insertions, 0 deletions