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 <dsah...@gmail.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.

Reply via email to