summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/marvell/skge.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2019-09-20 16:08:21 +0200
committerDavid S. Miller <davem@davemloft.net>2019-09-24 16:48:31 +0200
commit02a07046834e64970f3bcd87a422ac2b0adb80de (patch)
tree6982c9b4e849ad759c40f97fb706f14b5e5e5a1d /drivers/net/ethernet/marvell/skge.c
parent0edc3f703f7bcaf550774b5d43ab727bcd0fe06b (diff)
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>
Diffstat (limited to 'drivers/net/ethernet/marvell/skge.c')
0 files changed, 0 insertions, 0 deletions