Antoni Segura Puimedon has posted comments on this change.
Change subject: sourcerouting: fix _getRoute not to include local routes ......................................................................
Patch Set 2:
Why does a show on a specific table show routes that were not inserted by us? I have a vague recollection of an iproute bug where shows on tables with a large table_id show a large set of routes, and not just the routes belonging to that table. If you define a low IP on the network I suspect the bug wouldn't manifest. You could work around this using the routes table file instead (With low table IDs).
Okay, I did bisect the hell out of ip route show table X
The highest number that doesn't expose the bug is: 2147483647
So for any value < 2147483648 the behavior is correct without this patch.