diff options
author | Hannes Frederic Sowa <hannes@stressinduktion.org> | 2015-05-21 16:59:59 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-25 00:06:58 -0400 |
commit | 869e7c62486ec0e170a9771acaa251d1a33b5871 (patch) | |
tree | c9086093021e0d0e1d7573f437cb2f7ffdf36273 /include/linux | |
parent | be12a1fe298e8be04d5215364f94654dff81b0bc (diff) | |
download | linux-869e7c62486ec0e170a9771acaa251d1a33b5871.tar.gz linux-869e7c62486ec0e170a9771acaa251d1a33b5871.tar.bz2 linux-869e7c62486ec0e170a9771acaa251d1a33b5871.zip |
net: af_unix: implement stream sendpage support
This patch implements sendpage support for AF_UNIX SOCK_STREAM
sockets. This is also required for a complete splice implementation.
The implementation is a bit tricky because we append to already existing
skbs and so have to hold unix_sk->readlock to protect the reading side
from either advancing UNIXCB.consumed or freeing the skb at the socket
receive tail.
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions