diff options
author | Shay Agroskin <shayagr@amazon.com> | 2021-02-05 21:51:14 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-02-06 15:07:29 -0800 |
commit | 225353c070fda18a23785e34e1eec2be508a3a3c (patch) | |
tree | d375fcf36d55efc56d40244da15a1f9bdb94e69d /net | |
parent | 3d0bc44d39bca615b72637e340317b7899b7f911 (diff) | |
download | lwn-225353c070fda18a23785e34e1eec2be508a3a3c.tar.gz lwn-225353c070fda18a23785e34e1eec2be508a3a3c.zip |
net: ena: Update XDP verdict upon failure
The verdict returned from ena_xdp_execute() is used to determine the
fate of the RX buffer's page. In case of XDP Redirect/TX error the
verdict should be set to XDP_ABORTED, otherwise the page won't be freed.
Fixes: a318c70ad152 ("net: ena: introduce XDP redirect implementation")
Signed-off-by: Shay Agroskin <shayagr@amazon.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions