Re: [PATCH net-next 3/3] net: systemport: Add a check for oversized packets

2015-05-28 Thread Petri Gynther
On Thu, May 28, 2015 at 3:24 PM, Florian Fainelli wrote: > Occasionnaly we may get oversized packets from the hardware which exceed > the nomimal 2KiB buffer size we allocate SKBs with. Add an early check > which drops the packet to avoid invoking skb_over_panic() and move on to > processing the n

[PATCH net-next 3/3] net: systemport: Add a check for oversized packets

2015-05-28 Thread Florian Fainelli
Occasionnaly we may get oversized packets from the hardware which exceed the nomimal 2KiB buffer size we allocate SKBs with. Add an early check which drops the packet to avoid invoking skb_over_panic() and move on to processing the next packet. Signed-off-by: Florian Fainelli --- drivers/net/eth