All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH mptcp 0/2] mptcp: fix crash with mptcp-ulp on tcp sockets
@ 2021-12-06 15:51 Florian Westphal
  2021-12-06 15:51 ` [PATCH mptcp 1/2] mptcp: clear 'kern' flag from fallback sockets Florian Westphal
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Florian Westphal @ 2021-12-06 15:51 UTC (permalink / raw)
  To: mptcp; +Cc: Florian Westphal

While working on the tls-ULP syzbot report I found that its also
possible to set the "mptcp" ulp from userspace, iff the socket is a
tcp socket returned via accept() on an mptcp listen socket.

First patch fixes this, second patch adds a test case.

Florian Westphal (2):
  mptcp: clear 'kern' flag from fallback sockets
  selftests: mptcp: try to set mptcp ulp mode in different sk states

 net/mptcp/protocol.c                          |  1 +
 .../selftests/net/mptcp/mptcp_connect.c       | 97 ++++++++++---------
 .../selftests/net/mptcp/mptcp_connect.sh      | 20 ----
 3 files changed, 52 insertions(+), 66 deletions(-)

-- 
2.32.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-12-10 23:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-06 15:51 [PATCH mptcp 0/2] mptcp: fix crash with mptcp-ulp on tcp sockets Florian Westphal
2021-12-06 15:51 ` [PATCH mptcp 1/2] mptcp: clear 'kern' flag from fallback sockets Florian Westphal
2021-12-06 19:40   ` Mat Martineau
2021-12-06 21:26     ` [PATCH v2 " Florian Westphal
2021-12-06 21:49       ` Mat Martineau
2021-12-10  1:38         ` Mat Martineau
2021-12-10  9:00           ` Florian Westphal
2021-12-10 10:46             ` Paolo Abeni
2021-12-10 20:48               ` Mat Martineau
2021-12-10 23:04             ` Mat Martineau
2021-12-06 15:51 ` [PATCH mptcp 2/2] selftests: mptcp: try to set mptcp ulp mode in different sk states Florian Westphal
2021-12-07 13:57 ` [PATCH mptcp 0/2] mptcp: fix crash with mptcp-ulp on tcp sockets Matthieu Baerts

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.