public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx@kernel.org>
To: Angel Ruiz Fernandez <a.ruizfernandez@um.es>
Cc: linux-man@vger.kernel.org
Subject: Re: EADDRNOTAVAIL in sendto(3p)
Date: Tue, 6 Jan 2026 17:13:50 +0100	[thread overview]
Message-ID: <aV00SxqJtA78WkMy@devuan> (raw)
In-Reply-To: <4204a137-3e59-46cb-8652-447ca66343c0@um.es>

[-- Attachment #1: Type: text/plain, Size: 867 bytes --]

On Tue, Jan 06, 2026 at 04:44:18PM +0100, Angel Ruiz Fernandez wrote:
> Hello,

Hi Angel,

> I think there is a missing error in the ERRORS section of sendto(3p)
> 
> When doing a sendto() to a Link-local scope IPv6 address on a socket that is
> bound to in6addr_any which has not been set setsockopt(IPV6_MULTICAST_IF) to
> a valid interface value, it fails with EADDRNOTAVAIL because it does not
> know which interface to send the multicast packet from.

Possibly.

> I can make a patch later.

Thanks!  It would be good to include (in the commit message) a small
C program demonstrating this.  And also include links to kernel source
if possible, or CC anyone who could confirm.  The more help it includes,
the easier it will be to review.


Have a lovely day!
Alex

> 
> Regards,
> Angel
> 

-- 
<https://www.alejandro-colomar.es>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2026-01-06 16:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-06 15:44 EADDRNOTAVAIL in sendto(3p) Angel Ruiz Fernandez
2026-01-06 16:13 ` Alejandro Colomar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aV00SxqJtA78WkMy@devuan \
    --to=alx@kernel.org \
    --cc=a.ruizfernandez@um.es \
    --cc=linux-man@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox