Thread (4 messages) 4 messages, 3 authors, 2008-08-07

Re: [PATCH] 3c59x: use netdev_alloc_skb

From: Steffen Klassert <hidden>
Date: 2008-07-30 22:12:53

On Fri, Jul 25, 2008 at 12:07:22PM -0700, Stephen Hemminger wrote:
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.

Compile tested only.

Signed-off-by: Stephen Hemminger <redacted>
Acked-by: Steffen Klassert <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help