From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] net: Only honor ifindex in IP_PKTINFO if non-0 Date: Fri, 16 Feb 2018 16:43:16 -0500 (EST) Message-ID: <20180216.164316.1601719296881855600.davem@davemloft.net> References: <20180216190303.30769-1-dsahern@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org To: dsahern@gmail.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:59452 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750849AbeBPVnS (ORCPT ); Fri, 16 Feb 2018 16:43:18 -0500 In-Reply-To: <20180216190303.30769-1-dsahern@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: From: David Ahern Date: Fri, 16 Feb 2018 11:03:03 -0800 > Only allow ifindex from IP_PKTINFO to override SO_BINDTODEVICE settings > if the index is actually set in the message. > > Signed-off-by: David Ahern Ok, this behavior meets reasonable expectations, applied, thanks. None of the documation is clear about this relationship between ip_pktinfo's ifindex and settings made by SO_BINDTODEVICE.