From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4C7BB3858C53; Sat, 24 Sep 2022 10:36:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4C7BB3858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1664015788; bh=9YyWquhfDBg5Ns6cc2iHapdP7DJ7ZTmezjYpuH1Y9K4=; h=From:To:Subject:Date:From; b=S3kc5eVk/APAANEWRauPZnt+SyDoQxExtlVpFbg3bxWGo8Y/y+7/ghD2WtKab9qfi qpenetuzSt1VkGZMiqLKZFTR5upmhbODKrmJQ6CKSOsZVhPGsP+Vu7ocK3FzLRPyZK pr90OqCDkN1Wk28HgeQ7AsF+IX236M9SHBDDcTNc= From: "sourceware at isomer dot meta.net.nz" To: glibc-bugs@sourceware.org Subject: [Bug nss/29609] New: getaddrinfo is missing IPPROTO_MPTCP Date: Sat, 24 Sep 2022 10:36:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nss X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sourceware at isomer dot meta.net.nz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29609 Bug ID: 29609 Summary: getaddrinfo is missing IPPROTO_MPTCP Product: glibc Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: nss Assignee: unassigned at sourceware dot org Reporter: sourceware at isomer dot meta.net.nz Target Milestone: --- Attempting to use IPPROTO_MPTCP with getaddrinfo(3) returns -EAI_SOCKTYPE. I think this is due to the gaih_inet_typeproto table[0] missing an entry fo= r: #ifdef IPPROTO_MPTCP { SOCK_STREAM, IPPROTO_MPTCP, 0, false, "tcp" }, #endif Support for IPPROTO_MPTCP was added in Linux 5.6[1]. It would be nice if glibc's getaddrinfo also supported it without hacks. [0]: https://sourceware.org/git/?p=3Dglibc.git;a=3Dblob;f=3Dsysdeps/posix/getadd= rinfo.c;h=3Dbcff909b2f3939d04b6ad33a78ae4f510504f96c;hb=3DHEAD#l131 [1]: https://kernelnewbies.org/Linux_5.6#Initial_support_for_MultiPath_TCP --=20 You are receiving this mail because: You are on the CC list for the bug.=