Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 057a0c56 authored by Aaro Koskinen's avatar Aaro Koskinen Committed by David S. Miller
Browse files

net: stmmac: don't log oversized frames



This is log is harmful as it can trigger multiple times per packet. Delete
it.

Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8ac0c24f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -91,8 +91,6 @@ static int ndesc_get_rx_status(void *data, struct stmmac_extra_stats *x,
		return dma_own;

	if (unlikely(!(rdes0 & RDES0_LAST_DESCRIPTOR))) {
		pr_warn("%s: Oversized frame spanned multiple buffers\n",
			__func__);
		stats->rx_length_errors++;
		return discard_frame;
	}