]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita6ff3420e11270690e5ceb6aba81a0e39d31bda9
treefccece19424d49db1c03ef8f204f3c7ca3478a4a
parenta32cdd043ebf9ca0e8a534252150bfe264d755bb
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