In this iteration I tried to address the comments from Mat && Mat on patch 2/3. Other patches are unchanged. Changes from v2: - many layout/comments fixup in patch 2/3, see the indivdual patch changelog for the details Changes from V1: - none, just repost to hopefully not confuse patchwork (and surely spam you more, sorry) Changes from RFC v2: - move sockopt related helper in a new file - rebased on top of the above Paolo Abeni (3): mptcp: move sockopt function into a new file mptcp: only admit explicitly supported sockopt mptcp: revert "mptcp: provide subflow aware release function" net/mptcp/Makefile | 2 +- net/mptcp/protocol.c | 165 +------------------- net/mptcp/protocol.h | 5 + net/mptcp/sockopt.c | 349 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 357 insertions(+), 164 deletions(-) create mode 100644 net/mptcp/sockopt.c -- 2.26.2