aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/skbuff.c
diff options
context:
space:
mode:
authorHannes Frederic Sowa <hannes@stressinduktion.org>2015-05-21 17:00:01 +0200
committerDavid S. Miller <davem@davemloft.net>2015-05-25 00:06:59 -0400
commit2b514574f7e88c8498027ee366fd6e7aae5aa4b5 (patch)
tree1fd7303692dfbbf1c9c3348cb79961ceb5078cd1 /net/core/skbuff.c
parentnet: make skb_splice_bits more configureable (diff)
downloadlinux-dev-2b514574f7e88c8498027ee366fd6e7aae5aa4b5.tar.xz
linux-dev-2b514574f7e88c8498027ee366fd6e7aae5aa4b5.zip
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>
Diffstat (limited to 'net/core/skbuff.c')
-rw-r--r--net/core/skbuff.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index 02769fa4f5c8..9bac0e6f8dfa 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -1942,6 +1942,7 @@ done:
return ret;
}
+EXPORT_SYMBOL_GPL(skb_splice_bits);
/**
* skb_store_bits - store bits from kernel buffer to skb