mptcp: revert "mptcp: forbit mcast-related sockopt on MPTCP sockets"
authorMatthieu Baerts <matthieu.baerts@tessares.net>
Thu, 15 Apr 2021 23:44:50 +0000 (16:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Apr 2021 22:23:09 +0000 (15:23 -0700)
commitbd005f53862b9e840977907e14e28cbcc10c6d51
treec153d53a458f566b462b3abe141625a77ee7691c
parenta1150a04b7e8caee235e38996e042e1bcb1a6574
mptcp: revert "mptcp: forbit mcast-related sockopt on MPTCP sockets"

This change reverts commit 86581852d771 ("mptcp: forbit mcast-related sockopt on MPTCP sockets").

As announced in the cover letter of the mentioned patch above, the
following commits introduce a larger MPTCP sockopt implementation
refactor.

This time, we switch from a blocklist to an allowlist. This is safer for
the future where new sockoptions could be added while not being fully
supported with MPTCP sockets and thus causing unstabilities.

Suggested-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/protocol.c