Re: [PATCH] net: ipv6: Add RT6_LOOKUP_F_IFACE flag if oif is set

2015-09-29 Thread David Miller
From: David Ahern Date: Mon, 28 Sep 2015 10:12:13 -0700 > Wolfgang reported that IPv6 stack is ignoring oif in output route lookups: ... > The stack does consider the oif but a mismatch in rt6_device_match is not > considered fatal because RT6_LOOKUP_F_IFACE is not set in the flags. > > Cc: Wol

[PATCH] net: ipv6: Add RT6_LOOKUP_F_IFACE flag if oif is set

2015-09-28 Thread David Ahern
Wolfgang reported that IPv6 stack is ignoring oif in output route lookups: With ipv6, ip -6 route get always returns the specific route. $ ip -6 r 2001:db8:e2::1 dev enp2s0 proto kernel metric 256 2001:db8:e2::/64 dev enp2s0 metric 1024 2001:db8:e3::1 dev enp3s0 proto kern