Subject: Re: [PATCH] net: UDP repair mode for retrieving the send queue of corked UDP socket

From: Leşe Doru Călin <[email-masked]>
Date: Thu, 9 Apr 2020 01:25:27 +0300

On Wed, Apr 08, 2020 at 02:27:49PM -0700, David Miller wrote:
> From: Lese Doru Calin <[email-masked]>
> Date: Wed, 8 Apr 2020 23:59:54 +0300
> 
> > Hello everyone!
> > 
> > In this year's edition of GSoC, there is a project idea for CRIU to add support
> > for checkpoint/restore of cork-ed UDP sockets. But to add it, the kernel API needs
> > to be extended.
> > This is what this patch does. It adds UDP "repair mode" for UDP sockets in a similar
> > approach to the TCP "repair mode", but only the send queue is necessary to be retrieved.
> > So the patch extends the recv and setsockopt syscalls. Using UDP_REPAIR option in
> > setsockopt, caller can set the socket in repair mode. If it is setted, the
> > recv/recvfrom/recvmsg will receive the write queue and the destination of the data.
> > As in the TCP mode, to change the repair mode requires the CAP_NET_ADMIN capability
> > and to receive data the caller is obliged to use the MSG_PEEK flag.
> > 
> > Best regards,
> > Lese Doru
> > 
> > Signed-off-by: Lese Doru Calin <[email-masked]>
> 
> Why do I feel like I've seen this patch several times before?

Maybe others contestants in GSoC already sended a patch for this.
This is the my first time when try.