Július Milan
2e591554b8
fib: fix sa selection for fib routed destinations
...
The move from ip4(6)_src_address_for_packet to fib_sas4(6)_get changed
the behavior, so that the new looked only to adjacent gleans. This
caused a problem for destinations routed according to FIB table.
To reproduce:
vpp# create tap
vpp# set interface state tap0 up
vpp# set interface ip address tap0 192.168.11.1/24
vpp# ip route add 192.168.20.0/24 via 192.168.11.2
linux$ sudo ip addr add 192.168.20.1/24 dev lo
linux$ sudo ip link set tap0 up
linux$ sudo ip addr add 192.168.11.2/24 dev tap0
vpp# ping 192.168.20.1
Failed: no source address for egress interface
Type: fix
Signed-off-by: Július Milan <julius.milan@pantheon.tech>
Signed-off-by: Neale Ranns <neale@graphiant.com>
Change-Id: I22899f4dbbf8c1c85ccce72f801b92c183195b5d
(cherry picked from commit 98874cda5853ea2d6b2dc32001b935d394b88430)
2021-02-24 18:35:52 +00:00
..
2020-12-03 13:29:38 +01:00
2020-12-08 20:04:17 +00:00
2020-09-30 16:38:59 +00:00
2019-11-15 13:19:20 +00:00
2019-11-05 21:08:59 +00:00
2020-12-08 20:04:17 +00:00
2020-12-07 08:17:10 +00:00
2020-12-07 08:17:10 +00:00
2020-12-07 08:17:10 +00:00
2019-11-05 21:08:59 +00:00
2020-08-31 18:17:20 +00:00
2020-12-07 08:17:10 +00:00
2020-05-25 20:27:29 +00:00
2020-09-09 11:57:48 +00:00
2020-12-06 20:45:34 +00:00
2020-08-27 08:03:38 +00:00
2019-11-05 21:08:59 +00:00
2019-12-20 04:09:09 +00:00
2020-12-03 19:43:23 +00:00
2020-11-30 16:56:43 -05:00
2020-12-07 08:17:10 +00:00
2020-12-03 19:43:23 +00:00
2020-10-21 14:22:59 +00:00
2020-09-02 14:47:28 +00:00
2019-12-17 10:56:20 +00:00
2020-03-27 12:46:42 +00:00
2019-12-04 22:47:12 +00:00
2019-12-04 23:16:44 +00:00
2019-12-17 10:56:20 +00:00
2020-05-03 15:21:42 -04:00
2020-12-01 13:31:41 +01:00
2020-05-03 15:21:42 -04:00
2020-12-01 13:31:41 +01:00
2019-12-17 10:56:20 +00:00
2020-11-30 12:33:09 +00:00
2020-09-17 12:55:53 +00:00
2020-11-02 08:49:08 +00:00
2020-05-05 18:36:33 +00:00
2020-11-02 08:49:08 +00:00
2020-11-25 19:35:38 +00:00
2020-03-09 13:46:29 +00:00
2019-11-08 13:25:56 +00:00
2019-12-17 10:56:20 +00:00
2020-12-16 08:13:42 +00:00
2019-12-23 07:33:12 +00:00
2019-11-05 21:08:59 +00:00
2019-11-05 21:08:59 +00:00
2019-11-05 21:08:59 +00:00
2019-11-05 21:08:59 +00:00
2020-10-21 14:22:59 +00:00
2019-11-05 21:08:59 +00:00
2020-12-10 18:34:18 +00:00
2020-04-30 13:25:29 +02:00
2020-04-24 15:01:29 +00:00
2020-11-20 10:27:01 +00:00
2020-11-10 10:58:54 +00:00
2021-02-24 18:35:52 +00:00
2020-03-27 12:46:42 +00:00
2020-05-15 11:41:14 +00:00
2019-11-05 21:08:59 +00:00
2020-12-16 09:42:33 +00:00
2020-11-24 11:24:53 +01:00
2019-12-17 10:56:20 +00:00
2020-03-16 09:18:46 +00:00
2019-11-05 21:08:59 +00:00
2019-12-17 10:56:20 +00:00
2020-11-30 16:56:43 -05:00
2020-10-07 12:46:08 +02:00
2020-08-03 11:59:00 +00:00
2020-05-03 15:21:42 -04:00
2020-05-01 18:08:45 +00:00
2020-11-24 11:24:53 +01:00
2020-11-24 11:24:53 +01:00
2020-11-10 10:58:54 +00:00
2020-11-24 11:24:53 +01:00
2020-08-27 08:03:38 +00:00
2019-12-11 15:23:55 +00:00
2020-11-26 17:17:36 +00:00
2020-04-28 20:55:20 +00:00
2019-11-12 20:37:55 +00:00
2020-06-08 14:17:59 +00:00
2020-06-08 14:17:59 +00:00
2020-06-08 14:17:59 +00:00
2020-06-08 14:17:59 +00:00
2020-12-07 08:17:10 +00:00
2020-09-02 14:47:28 +00:00
2020-05-01 18:08:45 +00:00
2020-01-30 20:12:19 +00:00
2020-12-03 19:43:23 +00:00
2020-12-07 08:17:10 +00:00
2020-12-01 13:31:41 +01:00
2020-01-27 20:40:30 +00:00
2019-11-08 20:06:56 +00:00
2020-11-02 08:49:08 +00:00
2019-11-15 13:19:20 +00:00
2020-10-08 09:04:05 +00:00
2020-12-07 08:17:10 +00:00
2020-12-01 13:31:41 +01:00
2020-08-14 09:38:58 +00:00
2020-03-12 12:28:47 +00:00
2020-12-03 19:43:23 +00:00
2020-11-30 16:56:43 -05:00
2020-12-03 19:43:23 +00:00
2019-11-05 21:08:59 +00:00
2020-04-27 09:25:32 -07:00
2019-11-15 13:19:20 +00:00
2020-03-16 09:18:46 +00:00