[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200421.130637.1641882866461308403.davem@davemloft.net>
Date: Tue, 21 Apr 2020 13:06:37 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: lesedorucalin01@...il.com
Cc: pabeni@...hat.com, netdev@...r.kernel.org, kuznet@....inr.ac.ru,
yoshfuji@...ux-ipv6.org
Subject: Re: [PATCH v4] net: UDP repair mode for retrieving the send queue
of corked UDP socket
From: Leşe Doru Călin <lesedorucalin01@...il.com>
Date: Thu, 16 Apr 2020 16:22:42 +0300
> 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.
>
> Signed-off-by: Lese Doru Calin <lesedorucalin01@...il.com>
I'm not applying this without any reviews.
So if someone cares about this feature they should review this
change.
Thank you.
Powered by blists - more mailing lists