# Re: \[MPTCP\] \[PATCH 05/22\] net: remove compat\_sock\_common\_{get,set}sockopt

- From: Matthieu Baerts \<hidden\>
- Date: 2020-07-17 09:18:16 
- List: netdev
- Page: https://ratatoskr.run/netdev/2020/07/6039700
- Thread: https://ratatoskr.run/netdev/2020/07/6039473/t.md

```text
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@lst.de>
> ---
>   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 <redacted>

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