Re: [PATCH v4 bpf 0/3] AF_XDP Socket Creation Fixes

2021-04-01 Thread Alexei Starovoitov
On Wed, Mar 31, 2021 at 12:06 AM Björn Töpel wrote: > > On Wed, 31 Mar 2021 at 08:43, Ciara Loftus wrote: > > > > This series fixes some issues around socket creation for AF_XDP. > > > > Patch 1 fixes a potential NULL pointer dereference in > > xsk_socket__create_shared. > > > > Patch 2 ensures t

Re: [PATCH v4 bpf 0/3] AF_XDP Socket Creation Fixes

2021-03-31 Thread Björn Töpel
On Wed, 31 Mar 2021 at 08:43, Ciara Loftus wrote: > > This series fixes some issues around socket creation for AF_XDP. > > Patch 1 fixes a potential NULL pointer dereference in > xsk_socket__create_shared. > > Patch 2 ensures that the umem passed to xsk_socket__create(_shared) > remains unchanged

[PATCH v4 bpf 0/3] AF_XDP Socket Creation Fixes

2021-03-30 Thread Ciara Loftus
This series fixes some issues around socket creation for AF_XDP. Patch 1 fixes a potential NULL pointer dereference in xsk_socket__create_shared. Patch 2 ensures that the umem passed to xsk_socket__create(_shared) remains unchanged in event of failure. Patch 3 makes it possible for xsk_socket__c