> Frames larger than the configured maximum legal length are still > received, clipped at that length, and marked in the descriptor as an > oversize error. mvneta_rx_error() already handles the error case, but > the driver never releases the descriptor back to the ring: the next > call starts from the same, already-handled descriptor instead of > moving past it, and the receive queue never catches up. > > Mark the descriptor as free the same way the success path right below > it already does: one descriptor was looked at, so update the ring by > one, matching the comment already in place on that path. > > Signed-off-by: Thomas Perrot <[email protected]> > --- > drivers/net/mvneta.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > > --- > base-commit: ece349ade2973e220f524ce59e59711cc919263f > change-id: 20261010-tprrt-mvneta-rx-oversize-320f99f6b147 > > Best regards,
Applied to u-boot-net branch for-main [1], thanks! [1] https://git.u-boot-project.org/u-boot/custodians/u-boot-net/-/commits/for-main [1/1] net: mvneta: drop frames in case of RX buffer oversize commit: e8aa87c578b9f6a997c17b2a322543b901832221 Best regards, -- Jerome Forissier <[email protected]>
