Thread (6 messages) flat view 6 messages, 2 authors, 2012-09-20

Re: [PATCH net-next] core: adjust checks for calling skb_copy_bits in skb_try_coalesce

From: RongQing Li <hidden>
Date: 2012-09-20 05:57:01

Did you read skb_tailroom(to) definition by any chance ?

static inline int skb_tailroom(const struct sk_buff *skb)
{
        return skb_is_nonlinear(skb) ? 0 : skb->end - skb->tail;
}

Current code is fine, because if @to is linear, its ... linear.

I am wrong, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help