[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <pj41zl7dqddfkm.fsf@u68c7b5b1d2d758.ant.amazon.com>
Date: Sun, 22 Nov 2020 09:19:05 +0200
From: Shay Agroskin <shayagr@...zon.com>
To: Jakub Kicinski <kuba@...nel.org>
CC: <netdev@...r.kernel.org>, <dwmw@...zon.com>, <zorik@...zon.com>,
<matua@...zon.com>, <saeedb@...zon.com>, <msw@...zon.com>,
<aliguori@...zon.com>, <nafea@...zon.com>, <gtzalik@...zon.com>,
<netanel@...zon.com>, <alisaidi@...zon.com>, <benh@...zon.com>,
<akiyano@...zon.com>, <sameehj@...zon.com>, <ndagan@...zon.com>
Subject: Re: [PATCH V2 net 4/4] net: ena: return error code from
ena_xdp_xmit_buff
Jakub Kicinski <kuba@...nel.org> writes:
> On Thu, 19 Nov 2020 22:28:51 +0200 Shay Agroskin wrote:
>> The function mistakenly returns NETDEV_TX_OK regardless of the
>> transmission success. This patch fixes this behavior by
>> returning the
>> error code from the function.
>>
>> Fixes: 548c4940b9f1 ("net: ena: Implement XDP_TX action")
>> Signed-off-by: Shay Agroskin <shayagr@...zon.com>
>
> Doesn't seem like a legitimate bug fix, since the only caller of
> this
> function ignores its return value.
Hi,
I plan to use the return value from this function in future patch
(next-net series), do you think we better send this fix with
this future patch?
Shay
Powered by blists - more mailing lists