net: make skb_splice_bits more configureable
authorHannes Frederic Sowa <hannes@stressinduktion.org>
Thu, 21 May 2015 15:00:00 +0000 (17:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 May 2015 04:06:59 +0000 (00:06 -0400)
commita60e3cc7c92973a31fad0fd04dc5cf4355d3d1ef
treefccece19424d49db1c03ef8f204f3c7ca3478a4a
parent869e7c62486ec0e170a9771acaa251d1a33b5871
net: make skb_splice_bits more configureable

Prepare skb_splice_bits to be able to deal with AF_UNIX sockets.

AF_UNIX sockets don't use lock_sock/release_sock and thus we have to
use a callback to make the locking and unlocking configureable.

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>
include/linux/skbuff.h
net/core/skbuff.c
net/ipv4/tcp.c