drivers/net: ks8842 Fix crash on received packet when in PIO mode.
authorDennis Aberilla <dennis.aberilla@mimomax.com>
Sun, 29 May 2011 11:46:54 +0000 (11:46 +0000)
committerDavid S. Miller <davem@zippy.davemloft.net>
Tue, 31 May 2011 22:14:31 +0000 (15:14 -0700)
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: Dennis Aberilla <denzzzhome@yahoo.com>
Signed-off-by: David S. Miller <davem@zippy.davemloft.net>

No differences found