skbuff: Function to send an skbuf on a socket
authorTom Herbert <tom@quantonium.net>
Fri, 28 Jul 2017 23:22:42 +0000 (16:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Aug 2017 22:26:18 +0000 (15:26 -0700)
commit20bf50de3028cb15fa81e1d1e63ab6e0c85257fc
tree07618e5eb3db85d12ec764cd235d0de531c4e76e
parent306b13eb3cf9515a8214bbf5d69d811371d05792
skbuff: Function to send an skbuf on a socket

Add skb_send_sock to send an skbuff on a socket within the kernel.
Arguments include an offset so that an skbuf might be sent in mulitple
calls (e.g. send buffer limit is hit).

Signed-off-by: Tom Herbert <tom@quantonium.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/core/skbuff.c