kernel-fxtec-pro1x/drivers/net/arcnet
Uwe Kleine-König 0bf7958858 arcnet: provide a buffer big enough to actually receive packets
[ Upstream commit 108639aac35eb57f1d0e8333f5fc8c7ff68df938 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-10-05 13:09:26 +02:00
..
arc-rawmode.c
arc-rimi.c
arcdevice.h
arcnet.c arcnet: provide a buffer big enough to actually receive packets 2019-10-05 13:09:26 +02:00
capmode.c
com90io.c
com90xx.c
com9026.h
com20020-isa.c
com20020-pci.c
com20020.c
com20020.h
com20020_cs.c
Kconfig
Makefile
rfc1051.c
rfc1201.c