Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpf: Fix tcp_synrto_kern.c sample program | Lawrence Brakmo | 2017-11-11 | 1 | -2/+4 |
| | | | | | | | | | The program was returning -1 in some cases which is not allowed by the verifier any longer. Fixes: 390ee7e29fc8 ("bpf: enforce return code for cgroup-bpf programs") Signed-off-by: Lawrence Brakmo <brakmo@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net> | ||||
* | bpf: Sample bpf program to set SYN/SYN-ACK RTOs | Lawrence Brakmo | 2017-07-01 | 1 | -0/+69 |
The sample BPF program, tcp_synrto_kern.c, sets the SYN and SYN-ACK RTOs to 10ms when both hosts are within the same datacenter (i.e. small RTTs) in an environment where common IPv6 prefixes indicate both hosts are in the same data center. Signed-off-by: Lawrence Brakmo <brakmo@fb.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net> |