Skip to content
Commit b10cec8a authored by Dennis Aberilla's avatar Dennis Aberilla Committed by David S. Miller
Browse files

drivers/net: ks8842 Fix crash on received packet when in PIO mode.



This patch fixes a driver crash during packet reception due to not enough
bytes allocated in the skb. Since the loop reads out 4 bytes at a time, we
need to allow for up to 3 bytes of slack space.

Signed-off-by: default avatarDennis Aberilla <denzzzhome@yahoo.com>
Signed-off-by: default avatarDavid S. Miller <davem@zippy.davemloft.net>
parent 48bdf072
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment