Re: [PATCH net-next 2/3] skbuff: Function to send an skbuf on a socket

2017-08-03 Thread John Fastabend
On 07/28/2017 04:22 PM, Tom Herbert wrote: > 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 > --- [...] > +/* Send skb data on a s

[PATCH net-next 2/3] skbuff: Function to send an skbuf on a socket

2017-07-28 Thread Tom Herbert
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 --- include/linux/skbuff.h | 3 ++ net/core/skbuff.c | 101 ++