netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: lorenzo@google.com
Cc: netdev@vger.kernel.org, hannes@stressinduktion.org,
	ek@google.com, hideaki.yoshifuji@miraclelinux.com
Subject: Re: [PATCH net] net: ipv6: Fix ping to link-local addresses.
Date: Mon, 08 Aug 2016 22:20:30 -0700 (PDT)	[thread overview]
Message-ID: <20160808.222030.1314134961786852070.davem@davemloft.net> (raw)
In-Reply-To: <CAKD1Yr25UUNOANnUD+cCszA2HfoPrsEPxaGqgqBBBG_wcs1tGg@mail.gmail.com>

From: Lorenzo Colitti <lorenzo@google.com>
Date: Tue, 9 Aug 2016 10:00:25 +0900

> Note that pretty much every sendmsg codepath allows other data to take
> precedence over sk_bound_dev_if:
> 
> - udpv6_sendmsg: if sin6_scope_id specified on a scoped address
> - rawv6_sendmsg: if sin6_scope_id specified on a scoped address
> - l2tp_ip6_sendmsg: if sin6_scope_id specified on a scoped address
> - ip_cmsg_send: if IP_PKTINFO or IPV6_PKTINFO specified
> 
> What should I do about those? -EINVAL? Ignore the conflicting data? Leave as is?

That's a good point, I guess this needs some more thought.

  reply	other threads:[~2016-08-09  5:20 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-08  7:42 [PATCH net] net: ipv6: Fix ping to link-local addresses Lorenzo Colitti
2016-08-08 14:26 ` Hannes Frederic Sowa
2016-08-08 14:45   ` Lorenzo Colitti
2016-08-08 16:22     ` 吉藤英明
2016-08-08 15:27 ` David Ahern
2016-08-08 16:24   ` Lorenzo Colitti
2016-08-08 16:27     ` David Ahern
2016-08-09  0:40       ` Lorenzo Colitti
2016-08-08 21:35 ` David Miller
2016-08-09  1:00   ` Lorenzo Colitti
2016-08-09  5:20     ` David Miller [this message]
2016-08-09  7:01       ` Erik Kline
2016-08-09  8:37         ` YOSHIFUJI Hideaki
2016-08-09  9:36           ` Hannes Frederic Sowa
2016-08-09 11:42             ` Lorenzo Colitti
2016-08-09 13:21         ` David Ahern
2016-08-09 22:44           ` YOSHIFUJI Hideaki
2016-08-12 15:45             ` Lorenzo Colitti
2016-08-12 16:04               ` David Ahern
2016-08-15  7:39               ` YOSHIFUJI Hideaki
2016-08-16 15:21                 ` Lorenzo Colitti
2016-08-16 16:22                   ` David Ahern

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=20160808.222030.1314134961786852070.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=ek@google.com \
    --cc=hannes@stressinduktion.org \
    --cc=hideaki.yoshifuji@miraclelinux.com \
    --cc=lorenzo@google.com \
    --cc=netdev@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;
as well as URLs for NNTP newsgroup(s).