Re: [PATCH] arcnet: provide a buffer big enough to actually receive packets

2019-09-24 Thread David Miller
From: Uwe Kleine-König 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 pr

Re: [PATCH] arcnet: provide a buffer big enough to actually receive packets

2019-09-23 Thread Michael Grzeschik
On Fri, Sep 20, 2019 at 04:08:21PM +0200, Uwe Kleine-König wrote: > 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

[PATCH] arcnet: provide a buffer big enough to actually receive packets

2019-09-20 Thread Uwe Kleine-König
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: