From: Hannes Frederic Sowa Date: Thu, 21 May 2015 14:59:59 +0000 (+0200) Subject: net: af_unix: implement stream sendpage support X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~229^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=869e7c62486ec0e170a9771acaa251d1a33b5871;p=pandora-kernel.git 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 Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed