sock: expose so_timestamp options for mptcp
authorFlorian Westphal <fw@strlen.de>
Thu, 3 Jun 2021 23:24:27 +0000 (16:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Jun 2021 21:08:09 +0000 (14:08 -0700)
commit371087aa476ab0ac0072303ac94a3bba2d7b0a1d
treea6a80c4726a3dea5e4c0641911cde2addf5f8c78
parentebbf5fcb94a7f3499747b282420a1c5f7e8d1c6f
sock: expose so_timestamp options for mptcp

This exports SO_TIMESTAMP_* function for re-use by MPTCP.

Without this there is too much copy & paste needed to support
this from mptcp setsockopt path.

Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
net/core/sock.c