On Wed, Jun 17, 2020 at 4:02 AM Dmitry Yakunin <[email protected]> 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 <[email protected]>) > > Signed-off-by: Dmitry Yakunin <[email protected]> > Acked-by: Martin KaFai Lau <[email protected]> > --- > 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.
