commit | e66e9a31474dcce5be6f1186dc933d8a991c707b | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Thu Apr 19 09:38:17 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat Apr 21 16:36:42 2012 -0400 |
tree | 10bcd8dd605738689797656753ecbbbbab33fe23 | |
parent | acd69962341a956b5bcc5b4178b70fa527d7ce11 [diff] |
net: allow better page reuse in splice(sock -> pipe) 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>