summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-04-19 11:38:17 +0200
committerDavid S. Miller <davem@davemloft.net>2012-04-21 22:36:42 +0200
commite66e9a31474dcce5be6f1186dc933d8a991c707b (patch)
tree10bcd8dd605738689797656753ecbbbbab33fe23 /net/ipv4/tcp.c
parentteam: add per-port option for enabling/disabling ports (diff)
downloadlinux-e66e9a31474dcce5be6f1186dc933d8a991c707b.tar.xz
linux-e66e9a31474dcce5be6f1186dc933d8a991c707b.zip
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>
Diffstat (limited to 'net/ipv4/tcp.c')
0 files changed, 0 insertions, 0 deletions