Re: [MPTCP] [PATCH 05/22] net: remove compat_sock_common_{get,set}sockopt

From: Matthieu Baerts
Date: Fri Jul 17 2020 - 05:18:16 EST


Hi Christoph,

On 17/07/2020 08:23, Christoph Hellwig wrote:
Add the compat handling to sock_common_{get,set}sockopt instead,
keyed of in_compat_syscall(). This allow to remove the now unused
->compat_{get,set}sockopt methods from struct proto_ops.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>
---
include/linux/net.h | 6 ------
include/net/sock.h | 4 ----
net/core/sock.c | 30 ++++++------------------------
net/mptcp/protocol.c | 6 ------

Thank you for looking at that!

For MPTCP-related code:

Acked-by: Matthieu Baerts <matthieu.baerts@xxxxxxxxxxxx>

Cheers,
Matt
--
Tessares | Belgium | Hybrid Access Solutions
www.tessares.net