[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160808.222030.1314134961786852070.davem@davemloft.net>
Date: Mon, 08 Aug 2016 22:20:30 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: lorenzo@...gle.com
Cc: netdev@...r.kernel.org, hannes@...essinduktion.org, ek@...gle.com,
hideaki.yoshifuji@...aclelinux.com
Subject: Re: [PATCH net] net: ipv6: Fix ping to link-local addresses.
From: Lorenzo Colitti <lorenzo@...gle.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.
Powered by blists - more mailing lists