Re: [PATCH net-next] net: enetc: fix array underflow in error handling code

2021-04-09 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Fri, 9 Apr 2021 15:24:28 +0300 you wrote: > 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 > --- > dr

Re: [PATCH net-next] net: enetc: fix array underflow in error handling code

2021-04-09 Thread Vladimir Oltean
On Fri, Apr 09, 2021 at 03:24:28PM +0300, Dan Carpenter wrote: > 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 > --- > drivers/net/ethernet/freescale/enetc/enetc.c | 2 +- > 1 fil

RE: [PATCH net-next] net: enetc: fix array underflow in error handling code

2021-04-09 Thread Claudiu Manoil
>-Original Message- >From: Dan Carpenter [...] >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_R

[PATCH net-next] net: enetc: fix array underflow in error handling code

2021-04-09 Thread Dan Carpenter
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 --- drivers/net/ethernet/freescale/enetc/enetc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/f