git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Small patch to add support for MPTCP on Linux

From
Junio C Hamano <gitster@pobox.com>
Date
May 19, 2025, 23:49 UTC
Message-ID
<xmqqo6vokvpv.fsf@gitster.g>
In-Reply-To
<a76dda61-f60c-4221-83db-5e165a2478b1@gmail.com>
Phillip Wood <phillip.wood123@gmail.com> writes:
Show 16 quoted lines
> As brian has already said I think it would be better to have a
> Makefile knob to control this which defaults to being on for
> linux. Take a look at the various USE_xxx definitions in the Makefile
> and config.mak.uname for setting default compile flags for different
> operating systems.
>
>> Also another check if a socket is supported by looking for a return
>> value of
>> "EAI_SOCKTYPE" (not EINVAL) and fallback to regular TCP if that is
>> returned.
>> EAI_SOCKTYPE should work across different UNIX systems as this is a
>> posix error code.
>
> That error is not mentioned in the documentation for MCTCP on Linux
> [1]. Please make sure your code checks for the errno values described
> in the documentation.

Also according to RFC 6897, "MPTCP is designed to be totally backward compatible to applications". I understand that this is quite unlike introducing IPv6 into IPv4-only world. You can tell the system that supports MPTCP to use it in specific ways by updating your application, but your system's local policy may allow MPTCP to automatically set up multiple subflows even your application is not quite aware of MPTCP.

So, ... I somehow would be mildly surprised if Git were a kind of application that needs to take advantage of "several additional degrees of freedom that applications may wish to exploit" by using API that is "a simple extension of TCP's interface for MPTCP-aware applications". Requiring a simple application like ours to tweak and rebuild in today's world does not sound like a winning strategy to promote a technology that "is designed to be totally backward compatible to applications", at least to me.

Previous: Phillip WoodNext: Muhammad Nuzaihan
Message 7 of 14 in “Small patch to add support for MPTCP on Linux”
  1. Muhammad NuzaihanMay 16, 2025
  2. brian m. carlsonMay 16, 2025
  3. Muhammad NuzaihanMay 17, 2025
  4. brian m. carlsonMay 17, 2025
  5. Muhammad NuzaihanMay 17, 2025
  6. Phillip WoodMay 17, 2025
  7. Junio C HamanoMay 19, 2025
  8. Muhammad NuzaihanMay 20, 2025
  9. Matthieu BaertsMay 20, 2025
  10. Junio C HamanoMay 20, 2025
  11. Matthieu BaertsMay 20, 2025
  12. Junio C HamanoMay 20, 2025
  13. Matthieu BaertsMay 22, 2025
  14. Muhammad NuzaihanMay 17, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.