mirror_frr/pbrd
Stephen Worley e6b00e3fb9 pbrd: nht only handle if updates if IPV*_IFINDEX nh
Only handle an interface update in the nexthop tracking code
if the nexthop in question was set with an interface to point
out of. If the nexthop is GW only, the interface update could
be unrelated but have overlapping address space. Let that be
handled elsewhere.

Ex)

```
5.5.5.0/30 dev dummyDoof proto kernel scope link src 5.5.5.1
5.5.5.0/24 dev goofDummy proto kernel scope link src 5.5.5.1
[root@alfred frr-2]# ip ro show table 10000
default via 5.5.5.2 dev dummyDoof proto pbr metric 20
[root@alfred frr-2]# ip link set goofDummy down
[root@alfred frr-2]# ip ro show table 10000
[root@alfred frr-2]# ip link set goofDummy up
[root@alfred frr-2]# ip ro show table 10000

```

Signed-off-by: Stephen Worley <sworley@nvidia.com>
2021-02-01 13:32:37 -05:00
..
.gitignore *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
Makefile pbrd: Add PBR to FRR 2018-04-06 13:22:43 -04:00
pbr_debug.c pbrd: Fix unused function 2018-04-17 18:43:47 -04:00
pbr_debug.h pbrd: move debug vty into pbr_vty.c 2018-04-17 18:43:47 -04:00
pbr_main.c pbrd: Fix memory leak 2020-10-23 11:28:12 -04:00
pbr_map.c pbrd: use bool for pbr_send_pbr_map() return val 2020-09-23 14:17:15 -04:00
pbr_map.h bgpd, lib, pbrd, zebra: Pass by ifname 2020-09-11 20:04:45 -04:00
pbr_memory.c pbrd: Add PBR to FRR 2018-04-06 13:22:43 -04:00
pbr_memory.h pbrd: Add PBR to FRR 2018-04-06 13:22:43 -04:00
pbr_nht.c pbrd: nht only handle if updates if IPV*_IFINDEX nh 2021-02-01 13:32:37 -05:00
pbr_nht.h pbrd: be more selective about route updates 2020-09-01 11:11:43 -04:00
pbr_vrf.c pbrd: Fix memory leak 2020-10-23 11:28:12 -04:00
pbr_vrf.h pbrd: Fix memory leak 2020-10-23 11:28:12 -04:00
pbr_vty.c pbrd: disallow ipv4/ipv6 mismatching in match src/dst 2020-12-17 16:14:38 -05:00
pbr_vty.h pbrd, lib: move PBR_STR def. to lib 2018-06-13 16:22:01 +00:00
pbr_zebra.c *: Convert all usage of zclient_send_message to new enum 2020-11-15 15:04:52 -05:00
pbr_zebra.h pbrd: Fix memory leak 2020-10-23 11:28:12 -04:00
pbrd.conf.sample pbrd, sharpd, staticd: Add some color to sample configuration files 2019-08-19 10:36:53 -04:00
subdir.am vtysh: dynamically generate the list of daemons for commands 2020-10-02 15:06:27 +03:00