[PATCH net-next 0/3] bpf: support setting max RTO for bpf_setsockopt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Support max RTO set by BPF program calling bpf_setsockopt().
Add corresponding selftests.

Jason Xing (3):
  tcp: add TCP_RTO_MAX_MIN_SEC definition
  bpf: add TCP_BPF_RTO_MAX for bpf_setsockopt
  selftests/bpf: add rto max for bpf_setsockopt test

 Documentation/networking/ip-sysctl.rst        |  3 +-
 include/net/tcp.h                             |  1 +
 include/uapi/linux/bpf.h                      |  2 ++
 net/core/filter.c                             |  6 ++++
 net/ipv4/sysctl_net_ipv4.c                    |  3 +-
 net/ipv4/tcp.c                                |  3 +-
 tools/include/uapi/linux/bpf.h                |  2 ++
 .../bpf/prog_tests/tcp_hdr_options.c          | 28 +++++++++++++------
 .../bpf/progs/test_tcp_hdr_options.c          | 26 +++++++++++++++++
 .../selftests/bpf/test_tcp_hdr_options.h      |  3 ++
 10 files changed, 66 insertions(+), 11 deletions(-)

-- 
2.43.5





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux