]> git.baikalelectronics.ru Git - kernel.git/commit
net: af_unix: implement splice for stream af_unix sockets
authorHannes Frederic Sowa <hannes@stressinduktion.org>
Thu, 21 May 2015 15:00:01 +0000 (17:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 May 2015 04:06:59 +0000 (00:06 -0400)
commit8cad5e6f0338b88c16dd12e28465367bb02aa17a
tree1fd7303692dfbbf1c9c3348cb79961ceb5078cd1
parenta6ff3420e11270690e5ceb6aba81a0e39d31bda9
net: af_unix: implement splice for stream af_unix sockets

unix_stream_recvmsg is refactored to unix_stream_read_generic in this
patch and enhanced to deal with pipe splicing. The refactoring is
inneglible, we mostly have to deal with a non-existing struct msghdr
argument.

Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
fs/splice.c
net/core/skbuff.c
net/unix/af_unix.c