Re: [PATCH net] net: Propagate lookup failure in l3mdev_get_saddr to caller

2016-01-04 Thread David Miller
From: David Ahern Date: Mon, 4 Jan 2016 09:09:27 -0800 > Commands run in a vrf context are not failing as expected on a route lookup: > root@kenny:~# ip ro ls table vrf-red > unreachable default > > root@kenny:~# ping -I vrf-red -c1 -w1 10.100.1.254 > ping: Warning: source addre

[PATCH net] net: Propagate lookup failure in l3mdev_get_saddr to caller

2016-01-04 Thread David Ahern
Commands run in a vrf context are not failing as expected on a route lookup: root@kenny:~# ip ro ls table vrf-red unreachable default root@kenny:~# ping -I vrf-red -c1 -w1 10.100.1.254 ping: Warning: source address might be selected on device other than vrf-red. PING 10.100.1.