kernel_samsung_a53x/drivers/net/ethernet/marvell
Dan Carpenter aa7844c04c octeontx2-pf: Fix otx2_get_fecparam()
commit 38b5133ad607ecdcc8d24906d1ac9cc8df41acd5 upstream.

Static checkers complained about an off by one read overflow in
otx2_get_fecparam() and we applied two conflicting fixes for it.

Correct: b0aae0bde26f ("octeontx2: Fix condition.")
  Wrong: 93efb0c65683 ("octeontx2-pf: Fix out-of-bounds read in otx2_get_fecparam()")

Revert the incorrect fix.

Fixes: 93efb0c65683 ("octeontx2-pf: Fix out-of-bounds read in otx2_get_fecparam()")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-12-17 13:24:35 +01:00
..
mvpp2 Revert "net: mvpp2: Increase size of queue_name buffer" 2024-11-24 00:23:08 +01:00
octeontx2 octeontx2-pf: Fix otx2_get_fecparam() 2024-12-17 13:24:35 +01:00
prestera
Kconfig
Makefile
mv643xx_eth.c
mvmdio.c
mvneta.c
mvneta_bm.c
mvneta_bm.h
pxa168_eth.c marvell: pxa168_eth: fix call balance of pep->clk handling routines 2024-12-17 13:24:15 +01:00
skge.c
skge.h
sky2.c
sky2.h