From: Uwe Kleine-König u.kleine-koenig@pengutronix.de Date: Fri, 20 Sep 2019 16:08:21 +0200
struct archdr is only big enough to hold the header of various types of arcnet packets. So to provide enough space to hold the data read from hardware provide a buffer large enough to hold a packet with maximal size.
The problem was noticed by the stack protector which makes the kernel oops.
Cc: stable@vger.kernel.org # v2.4.0+
Do not CC: stable for networking patches, I take care of it.
Signed-off-by: Uwe Kleine-König u.kleine-koenig@pengutronix.de
Applied and queued up for -stable.