Thread (2 messages) flat view 2 messages, 2 authors, 2011-10-14

Re: [PATCH net-next] ftmac100: fix skb truesize underestimation

From: David Miller <davem@davemloft.net>
Date: 2011-10-14 02:29:02

From: Eric Dumazet <redacted>
Date: Thu, 13 Oct 2011 23:20:08 +0200
ftmac100 allocates a page per skb fragment. We must account
PAGE_SIZE increments on skb->truesize, not the actual frag length.

If frame is under 64 bytes, page is freed, so increase truesize only for
bigger frames.

Signed-off-by: Eric Dumazet <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help