On Wed, Jun 17, 2020 at 4:02 AM Dmitry Yakunin <z...@yandex-team.ru> wrote: > > This patch adds support of SO_KEEPALIVE flag and TCP related options > to bpf_setsockopt() routine. This is helpful if we want to enable or tune > TCP keepalive for applications which don't do it in the userspace code. > > v2: > - update kernel-doc (Nikita Vetoshkin <nekt...@yandex-team.ru>) > > Signed-off-by: Dmitry Yakunin <z...@yandex-team.ru> > Acked-by: Martin KaFai Lau <ka...@fb.com> > --- > include/uapi/linux/bpf.h | 7 +++++-- > net/core/filter.c | 36 +++++++++++++++++++++++++++++++++++- > 2 files changed, 40 insertions(+), 3 deletions(-)
Please update tools/include/uapi/linux/bpf.h as well. Also please add a selftest for at least some new opts.