commit | a1c7fff7e18f59e684e07b0f9a770561cd39f395 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Thu May 17 07:34:16 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu May 17 15:52:40 2012 -0400 |
tree | 99b006ffc7423205ded8616a21eb955f1fe046dd | |
parent | 1de5a71c3e6eae2fbf15e9a9e13a8fc269bb82bc [diff] |
net: netdev_alloc_skb() use build_skb() netdev_alloc_skb() is used by networks driver in their RX path to allocate an skb to receive an incoming frame. With recent skb->head_frag infrastructure, it makes sense to change netdev_alloc_skb() to use build_skb() and a frag allocator. This permits a zero copy splice(socket->pipe), and better GRO or TCP coalescing. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>