From: Tom Herbert
Date: Thu, 29 Jun 2017 11:27:04 -0700
> +int skb_send_sock(struct sk_buff *skb, struct socket *sock, unsigned int
> offset)
> +{
> + unsigned int sent = 0;
> + unsigned int ret;
> + unsigned short fragidx;
Please use reverse christmas tree ordering for these local
Add skb_send_sock to send an skbuff on a socket within the kernel.
Arguments include and offset so that an skbuf might be sent in mulitple
calls (e.g. send buffer limit is hit).
---
include/linux/skbuff.h | 2 ++
net/core/skbuff.c | 66 ++
2 f