Searched hist:b2b00006 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/microsoft/mana/ |
H A D | mana_en.c | b2b00006 Fri Sep 29 15:42:25 CDT 2023 Haiyang Zhang <haiyangz@microsoft.com> net: mana: Fix TX CQE error handling
For an unknown TX CQE error type (probably from a newer hardware), still free the SKB, update the queue tail, etc., otherwise the accounting will be wrong.
Also, TX errors can be triggered by injecting corrupted packets, so replace the WARN_ONCE to ratelimited error logging.
Cc: stable@vger.kernel.org Fixes: ca9c54d2d6a5 ("net: mana: Add a driver for Microsoft Azure Network Adapter (MANA)") Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Reviewed-by: Simon Horman <horms@kernel.org> Reviewed-by: Shradha Gupta <shradhagupta@linux.microsoft.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
|