From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=4S/gh7DlewJhY/+DLeX+l0ZsD/iTCEA402kFJuzMUvY=; b=O9q+FUdekxJW3nB7MmezSGGrMQ1Rc0A4fy+3AFZxKVgF/9jVHJ1TfRy3M6YNhp+uRv ZrM/a4Wjb+Z5gky7YiJ7DF18yyrFGTvTDTeLaY7B1G0h/5LLzhNbF+2HD6GORdDx5fEy 5zQ9vA/7UnRLP6aX39tn+mVFWUdpg2uHxi+EwWqW/50kb98kBAxC0oFZUZttDTcBv9+j sByZAP1xkNWaBHpoetISdUGpdmhCDxhKVssq968xOKcbGGKxuTILvDe6bsoNNCt2yq8c 8iryAuyNYXb70AbFf4hNzs7vQcbMj5E45UWi77VGCVujyqY7hnP6HcK3K7cI9jPQfiMY F82g== X-Gm-Message-State: ALoCoQn7ittBGBtsxu7X6TUqYyblknqbNKNZv5yi/J6uODi6nwrQIihlBiSX+olhkin8AAPA4a2I X-Received: by 10.194.246.102 with SMTP id xv6mr5117716wjc.58.1445356940177; Tue, 20 Oct 2015 09:02:20 -0700 (PDT) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id ry1sm4672471wjb.24.2015.10.20.09.02.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Oct 2015 09:02:19 -0700 (PDT) From: Thomas Monjalon To: "John W. Linville" Date: Tue, 20 Oct 2015 18:01:15 +0200 Message-ID: <21593417.mFkqDfyLpJ@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1440697850-11763-1-git-send-email-linville@tuxdriver.com> References: <1440697850-11763-1-git-send-email-linville@tuxdriver.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] rte_eth_af_packet: check return value from sendto call X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2015 16:02:20 -0000 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