OSDN Git Service

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)
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>

Trivial merge