Home
last modified time | relevance | path

Searched hist:"02 a07046834e64970f3bcd87a422ac2b0adb80de" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/arcnet/
H A Darcnet.cdiff 02a07046834e64970f3bcd87a422ac2b0adb80de Fri Sep 20 09:08:21 CDT 2019 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> arcnet: provide a buffer big enough to actually receive packets

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.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>