android_kernel_sony_sdm845/drivers/net/arcnet
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Uwe Kleine-König 337da470bd 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 12:30:12 +02:00
..
arc-rawmode.c
arc-rimi.c
arcdevice.h arcnet: add netif_carrier_on/off for reconnect 2015-10-26 09:10:56 +01:00
arcnet.c arcnet: provide a buffer big enough to actually receive packets 2019-10-05 12:30:12 +02:00
capmode.c
com90io.c
com90xx.c arcnet: com90xx: add __init attribute 2016-04-19 20:17:45 -04:00
com9026.h
com20020-isa.c
com20020-pci.c arcnet: com20020-pci: add led trigger support 2015-10-26 09:10:56 +01:00
com20020.c
com20020.h arcnet: com20020-pci: add led trigger support 2015-10-26 09:10:56 +01:00
com20020_cs.c
Kconfig arcnet/com20020: add LEDS_CLASS dependency 2015-11-03 11:29:56 -05:00
Makefile
rfc1051.c
rfc1201.c