Re: [PATCH net-next v6 00/16] bpf: Adds support for sock_ops

2017-07-01 Thread David Miller
From: Lawrence Brakmo Date: Fri, 30 Jun 2017 20:02:39 -0700 > Created a new BPF program type, BPF_PROG_TYPE_SOCK_OPS, and a corresponding > struct that allows BPF programs of this type to access some of the > socket's fields (such as IP addresses, ports, etc.) and setting > connection parameters

Re: [PATCH net-next v6 00/16] bpf: Adds support for sock_ops

2017-07-01 Thread Daniel Borkmann
On 07/01/2017 05:02 AM, Lawrence Brakmo wrote: [...] v6: fixes to BPF helper function setsockopt (possible NULL deferencing, etc.) Thanks for fixing up, BPF side looks good to me.

[PATCH net-next v6 00/16] bpf: Adds support for sock_ops

2017-06-30 Thread Lawrence Brakmo
Created a new BPF program type, BPF_PROG_TYPE_SOCK_OPS, and a corresponding struct that allows BPF programs of this type to access some of the socket's fields (such as IP addresses, ports, etc.) and setting connection parameters such as buffer sizes, initial window, SYN/SYN-ACK RTOs, etc. Unlike c