From: Eric Dumazet Date: Thu, 19 Apr 2012 09:38:17 +0000 (+0000) Subject: net: allow better page reuse in splice(sock -> pipe) X-Git-Tag: v3.5-rc1~109^2~323 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e66e9a31474dcce5be6f1186dc933d8a991c707b;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed