Also, in nm_platform_routing_rule_cmp() always compare the routing table field, also if l3mdev is set. For kernel, we cannot set table and l3mdev together, hence such rules don't really exist (or if we try to configure it, it will be rejected by kernel). But as far as nm_platform_routing_rule_cmp() is concerned, if the table is set, always compare it.
b6ff02e76 platform: compare routing rules according to kernel support for FRA_L3MDEV
src/platform/nm-platform.c | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)