Re: [bpf PATCH v4 0/3] bpf, sockmap ESTABLISHED state only

2018-09-21 Thread Daniel Borkmann
On 09/18/2018 06:01 PM, John Fastabend wrote: > Eric noted that using the close callback is not sufficient > to catch all transitions from ESTABLISHED state to a LISTEN > state. So this series does two things. First, only allow > adding socks in ESTABLISH state and second use unhash callback > to

[bpf PATCH v4 0/3] bpf, sockmap ESTABLISHED state only

2018-09-18 Thread John Fastabend
Eric noted that using the close callback is not sufficient to catch all transitions from ESTABLISHED state to a LISTEN state. So this series does two things. First, only allow adding socks in ESTABLISH state and second use unhash callback to catch tcp_disconnect() transitions. v2: added check for