From: Dennis Aberilla Date: Sun, 29 May 2011 11:46:54 +0000 (+0000) Subject: drivers/net: ks8842 Fix crash on received packet when in PIO mode. X-Git-Tag: v3.0-rc2~7^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b10cec8a4e8167075b9e1ff3f05419769e7f381a;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed