From mboxrd@z Thu Jan 1 00:00:00 1970 From: Magnus Karlsson Subject: [PATCH bpf 0/4] Bug fixes to the SKB TX path of AF_XDP Date: Wed, 27 Jun 2018 16:02:12 +0200 Message-ID: <1530108136-4984-1-git-send-email-magnus.karlsson@intel.com> Cc: qi.z.zhang@intel.com, pavel@fastnetmon.com To: magnus.karlsson@intel.com, bjorn.topel@intel.com, ast@fb.com, daniel@iogearbox.net, netdev@vger.kernel.org Return-path: Received: from mga12.intel.com ([192.55.52.136]:27469 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934581AbeF0OCl (ORCPT ); Wed, 27 Jun 2018 10:02:41 -0400 Sender: netdev-owner@vger.kernel.org List-ID: This patch set fixes three bugs in the SKB TX path of AF_XDP. Details in the individual commits. The structure of the patch set is as follows: Patch 1: Fix for lost completion message Patch 2-3: Fix for possible multiple completions of single packet Patch 4: Fix potential race during error /Magnus Magnus Karlsson (4): xsk: fix potential lost completion message in SKB path xsk: frame could be completed more than once in SKB path samples/bpf: deal with EBUSY return code from sendmsg in xdpsock sample xsk: fix potential race in SKB TX completion code include/net/xdp_sock.h | 4 ++++ net/xdp/xsk.c | 10 +++++++--- net/xdp/xsk_queue.h | 9 ++------- samples/bpf/xdpsock_user.c | 2 +- 4 files changed, 14 insertions(+), 11 deletions(-)