Re: [PATCH v3 net-next] net: fec: using the standard return codes when xdp xmit errors

From: Jakub Kicinski
Date: Thu May 11 2023 - 21:00:15 EST


On Thu, 11 May 2023 10:21:15 -0500 Shenwei Wang wrote:
> This patch standardizes the inconsistent return values for unsuccessful
> XDP transmits by using standardized error codes (-EBUSY or -ENOMEM).

Let's split the return code cleanup from the double free fix.
Please post a v4 patch with just the xdp_return_frame() removed,
and none of the other changes. For net (rather than net-next),
with the Fixes tag back.