]> git.baikalelectronics.ru Git - kernel.git/commit
udp: add gso segment cmsg
authorWillem de Bruijn <willemb@google.com>
Thu, 26 Apr 2018 17:42:20 +0000 (13:42 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Apr 2018 19:08:51 +0000 (15:08 -0400)
commitc78af527789524a0680bfaf19da6d316eb569846
tree211c9efb376d6499bfc992065bd925bfb85d571e
parent04d24d77c3705c0b2d046ecc7aaea6b9167a9934
udp: add gso segment cmsg

Allow specifying segment size in the send call.

The new control message performs the same function as socket option
UDP_SEGMENT while avoiding the extra system call.

[ Export udp_cmsg_send for ipv6. -DaveM ]

Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/udp.h
net/ipv4/udp.c
net/ipv6/udp.c