summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2008-07-25 21:07:22 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-08-07 08:22:15 +0200
commit9a5d3414202a21ed4b053657345ea0fd492d513a (patch)
treed29ea012a7c924bda9a624476f1c3ad093642744 /kernel
parentethtool: Expand ethtool_cmd.speed to 32 bits (diff)
downloadlinux-9a5d3414202a21ed4b053657345ea0fd492d513a.tar.xz
linux-9a5d3414202a21ed4b053657345ea0fd492d513a.zip
3c59x: use netdev_alloc_skb
Fix possible bug where end of receive buffer could be overwritten. The allocation needs to allow for the reserved space. This would only happen if device received packet greater than Ethernet standard MTU. Change this driver to use netdev_alloc_skb rather than setting skb->dev directly. For the initial allocation it doesn't need to be GFP_ATOMIC. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions