Merge branch 'net-stmmac-fix-handling-of-oversized-frames'
authorDavid S. Miller <davem@davemloft.net>
Sun, 31 Mar 2019 21:00:59 +0000 (14:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 31 Mar 2019 21:00:59 +0000 (14:00 -0700)
commitd3de85a51a4b4eaeb62541dfdbf5159f3b210260
tree21df898b0676583247063786206b24d7d00f7d11
parent288ac524cf70a8e7ed851a61ed2a9744039dae8d
parent057a0c5642a2ff2db7c421cdcde34294a23bf37b
Merge branch 'net-stmmac-fix-handling-of-oversized-frames'

Aaro Koskinen says:

====================
net: stmmac: fix handling of oversized frames

I accidentally had MTU size mismatch (9000 vs. 1500) in my network,
and I noticed I could kill a system using stmmac & 1500 MTU simply
by pinging it with "ping -s 2000 ...".

While testing a fix I encountered also some other issues that need fixing.

I have tested these only with enhanced descriptors, so the normal
descriptor changes need a careful review.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>