From: Eric Dumazet Date: Wed, 17 Sep 2014 11:49:49 +0000 (-0700) Subject: net: add alloc_skb_with_frags() helper X-Git-Tag: fixes-against-v3.18-rc2~81^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e4e44107176d552f8bb1bb76053e850e3809841;p=pandora-kernel.git net: add alloc_skb_with_frags() helper Extract from sock_alloc_send_pskb() code building skb with frags, so that we can reuse this in other contexts. Intent is to use it from tcp_send_rcvq(), tcp_collapse(), ... We also want to replace some skb_linearize() calls to a more reliable strategy in pathological cases where we need to reduce number of frags. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed