commit | b10cec8a4e8167075b9e1ff3f05419769e7f381a | [log] [tgz] |
---|---|---|
author | Dennis Aberilla <dennis.aberilla@mimomax.com> | Sun May 29 11:46:54 2011 +0000 |
committer | David S. Miller <davem@zippy.davemloft.net> | Tue May 31 15:14:31 2011 -0700 |
tree | 78f82ee427a29c9b3afcd4f06968495cb757b5bf | |
parent | 48bdf072c3f1f8f739f76d19c74f4c79605cac46 [diff] |
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: Dennis Aberilla <denzzzhome@yahoo.com> Signed-off-by: David S. Miller <davem@zippy.davemloft.net>