Hi Paolo, On 04/08/2020 18:31, Paolo Abeni wrote:
Nicolas reported the following oops:
(...)
on some unconventional configuration. The MPTCP protocol is trying to create a subflow for an unaccepted server socket. That is allowed by the RFC, even if subflow creation will likely fail. Unaccepted sockets have still a NULL sk_socket field, avoid the issue by failing earlier. Reported-and-tested-by: Nicolas Rybowski <nicolas.rybow...@tessares.net> Fixes: 7d14b0d2b9b3 ("mptcp: set correct vfs info for subflows")
Thank you for the patch, the addition in the code looks very good to me! But are you sure the commit you mention introduces the issue you fix here? Cheers, Matt -- Tessares | Belgium | Hybrid Access Solutions www.tessares.net