Re: [PATCH bpf-next] xsk: proper AF_XDP socket teardown ordering

2018-10-08 Thread Daniel Borkmann
On 10/05/2018 01:25 PM, Björn Töpel wrote: > From: Björn Töpel > > The AF_XDP socket struct can exist in three different, implicit > states: setup, bound and released. Setup is prior the socket has been > bound to a device. Bound is when the socket is active for receive and > send. Released is wh

Re: [PATCH bpf-next] xsk: proper AF_XDP socket teardown ordering

2018-10-05 Thread Song Liu
On Fri, Oct 5, 2018 at 4:28 AM Björn Töpel wrote: > > From: Björn Töpel > > The AF_XDP socket struct can exist in three different, implicit > states: setup, bound and released. Setup is prior the socket has been > bound to a device. Bound is when the socket is active for receive and > send. Relea

[PATCH bpf-next] xsk: proper AF_XDP socket teardown ordering

2018-10-05 Thread Björn Töpel
From: Björn Töpel The AF_XDP socket struct can exist in three different, implicit states: setup, bound and released. Setup is prior the socket has been bound to a device. Bound is when the socket is active for receive and send. Released is when the process/userspace side of the socket is released