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>
-
mentioned in commit acb70b25
-
mentioned in commit 9fed234a
-
mentioned in commit 183e8154
-
mentioned in commit 4e77528d
-
mentioned in commit 48ed6403
-
mentioned in commit dc4bd179
-
mentioned in commit d4454419
-
mentioned in commit 69041f27
-
mentioned in commit 5a3d57a3
-
mentioned in commit 149ba186
-
mentioned in commit 6b8f26d0
-
mentioned in commit 8cb74aa3
-
mentioned in commit 7bd1d587
-
mentioned in commit 48a0daf2
-
mentioned in commit 3a023c6c
-
mentioned in commit e79fdcb4
-
mentioned in commit 71a57aff
-
mentioned in commit dd0b820f
-
mentioned in commit 8789d1ed
-
mentioned in commit 68c69afe
-
mentioned in commit 6e964d20
-
mentioned in commit 8a960928
-
mentioned in commit be5abe03
-
mentioned in commit 4097bc85
-
mentioned in commit c3eb21f4
-
mentioned in commit 667e9f3a
-
mentioned in commit 35a23326
-
mentioned in commit 84d3e597
-
mentioned in commit e6ed5912
-
mentioned in commit 0b45ed13
-
mentioned in commit a2512ccd
-
mentioned in commit df9618fe
-
mentioned in commit c080cee9