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.