From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] rte_eth_af_packet: check return value from sendto call Date: Tue, 20 Oct 2015 18:01:15 +0200 Message-ID: <21593417.mFkqDfyLpJ@xps13> References: <1440697850-11763-1-git-send-email-linville@tuxdriver.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: "John W. Linville" Return-path: Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by dpdk.org (Postfix) with ESMTP id 53FBD8E86 for ; Tue, 20 Oct 2015 18:02:20 +0200 (CEST) Received: by wicfx6 with SMTP id fx6so52770823wic.1 for ; Tue, 20 Oct 2015 09:02:20 -0700 (PDT) In-Reply-To: <1440697850-11763-1-git-send-email-linville@tuxdriver.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-08-27 13:50, John W. Linville: > Coverity CID # 13200 > > If sendto fails, the packets will not get transmitted. Return 0 as > the number of packets transmitted. > > Signed-off-by: John W. Linville Applied, thanks