diff options
author | Eric Dumazet <[email protected]> | 2014-09-17 04:49:49 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-09-19 16:25:23 -0400 |
commit | 2e4e44107176d552f8bb1bb76053e850e3809841 (patch) | |
tree | b5cbc8a9e0a02bd3973e918e67493b9d81ffae4a /net/lapb/lapb_subr.c | |
parent | cb93471acc42b71fa3f2e46805020f2b323db64f (diff) |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions