From: Stephen Hemminger Date: Fri, 25 Jul 2008 19:07:22 +0000 (-0700) Subject: 3c59x: use netdev_alloc_skb X-Git-Tag: v2.6.27-rc3~69^2~13^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a5d3414202a21ed4b053657345ea0fd492d513a;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed