summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDennis Aberilla <dennis.aberilla@mimomax.com>2011-05-29 13:46:54 +0200
committerDavid S. Miller <davem@zippy.davemloft.net>2011-06-01 00:14:31 +0200
commitb10cec8a4e8167075b9e1ff3f05419769e7f381a (patch)
tree78f82ee427a29c9b3afcd4f06968495cb757b5bf /include
parentip_options_compile: properly handle unaligned pointer (diff)
downloadlinux-b10cec8a4e8167075b9e1ff3f05419769e7f381a.tar.xz
linux-b10cec8a4e8167075b9e1ff3f05419769e7f381a.zip
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions