kernel_samsung_a53x/drivers/net/ethernet/marvell/octeontx2/nic
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
..
Makefile
otx2_common.c octeontx2-pf: ethtool fec mode support 2024-12-17 13:24:05 +01:00
otx2_common.h octeontx2-pf: ethtool fec mode support 2024-12-17 13:24:05 +01:00
otx2_ethtool.c octeontx2-pf: Fix otx2_get_fecparam() 2024-12-17 13:24:35 +01:00
otx2_pf.c octeontx2-pf: ethtool fec mode support 2024-12-17 13:24:05 +01:00
otx2_ptp.c
otx2_ptp.h
otx2_reg.h
otx2_struct.h
otx2_txrx.c
otx2_txrx.h
otx2_vf.c