Thread (6 messages) flat view 6 messages, 2 authors, 2012-05-29

Re: [RFC] skb: avoid unnecessary reallocations in __skb_cow

From: Eric Dumazet <hidden>
Date: 2012-05-29 13:26:14

On Tue, 2012-05-29 at 15:10 +0200, Felix Fietkau wrote:
I don't have any real use case in mind, but it's not really adding an
extra NET_SKB_PAD, it simply fills up the headroom to NET_SKB_PAD,
This is not what is doing your patch.

If cloned is true, and current skb headroom less than 64, you add an
extra 64 bytes of headroom.

Just keep it simple, this is inline code and should be kept as small as
possible.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help