diff options
author | Eric Dumazet <edumazet@google.com> | 2012-05-17 07:34:16 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-17 15:52:40 -0400 |
commit | a1c7fff7e18f59e684e07b0f9a770561cd39f395 (patch) | |
tree | 99b006ffc7423205ded8616a21eb955f1fe046dd /net/netlink | |
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>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions