[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7bfc59d2-ea74-0962-67a5-9c5adc8b9e8f@gmail.com>
Date: Tue, 6 Mar 2018 13:52:05 -0700
From: David Ahern <dsahern@...il.com>
To: David Miller <davem@...emloft.net>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next] net: Only honor ifindex in IP_PKTINFO if non-0
On 2/16/18 12:03 PM, David Ahern wrote:
> 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 <dsahern@...il.com>
> ---
> net/ipv4/ip_sockglue.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
Dave: Any chance this can get backported to 4.14 and 4.9 stable
releases? Right now, net-snmp is dead in the water with VRF because it
uses IP_PKTINFO to set the source address AND in the process sets the
ifindex to 0 to allow asymmetric routing (request received on one
interface and response goes out a different one). This patch allows 'ip
vrf exec mgmt snmpd' to work.
Powered by blists - more mailing lists