Martin KaFai Lau ab14fd4ee8 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
2020-03-23 20:51:55 +01:00
..
2019-05-21 12:33:38 -07:00
2020-03-12 15:55:00 -07:00
2020-03-12 15:55:00 -07:00
2020-03-12 15:55:00 -07:00
2020-03-12 15:55:00 -07:00
2020-03-12 15:55:00 -07:00
2019-12-09 09:59:07 +01:00
2020-03-12 15:55:00 -07:00
2020-01-23 14:32:52 +01:00
2020-03-12 15:55:00 -07:00
2019-12-09 10:36:44 -08:00
2020-03-12 15:55:00 -07:00
2020-03-12 15:55:00 -07:00
2019-12-09 09:59:07 +01:00
2020-03-12 15:55:00 -07:00
2019-09-13 21:44:19 +02:00
2020-01-26 15:28:47 +01:00
2020-03-12 15:55:00 -07:00
2020-03-12 15:55:00 -07:00
2020-03-12 15:55:00 -07:00
2020-03-12 15:55:00 -07:00