git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acd6996
)
net: allow better page reuse in splice(sock -> pipe)
author
Eric Dumazet
<edumazet@google.com>
Thu, 19 Apr 2012 09:38:17 +0000
(09:38 +0000)
committer
David S. Miller
<davem@davemloft.net>
Sat, 21 Apr 2012 20:36:42 +0000
(16:36 -0400)
splice() from socket to pipe needs linear_to_page() helper to transfert
skb header to part of page.
We can reset the offset in the current sk->sk_sndmsg_page if we are the
last user of the page.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found