>-----Original Message----- >From: Dan Carpenter <dan.carpenter@xxxxxxxxxx> [...] >Subject: [PATCH net-next] net: enetc: fix array underflow in error handling >code > >This loop will try to unmap enetc_unmap_tx_buff[-1] and crash. > >Fixes: 9d2b68cc108d ("net: enetc: add support for XDP_REDIRECT") >Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Reviewed-by: Claudiu Manoil <claudiu.manoil@xxxxxxx>