Comment 13 for bug 1436427

Revision history for this message
Tony Espy (awe) wrote :

Note, Alfonso just hit the empty routing table bug again today while testing my flight-mode fixes for arale.

After some discussion, we both think that the lxc-android-config NM dispatcher script 02default_route_workaround, which was added for mako only should probably be removed altogether. My initial suggestion was to add logic so that the script only purged the routing table if the product was mako, but the I discovered that the route added by mako's rild is proto=kernel, not proto=boot ( which is what the script removes ). Maybe we should get rid of it altogether...

That said, in Alfonso's latest case, the routing table was empty when switching mobile data from one SIM to the other. Perhaps it's not the script that's wiping the table, but NM's core routing logic itself. One modem is coming down, and one is going up, it could be that the adding of routes for the new SIM and the removal of routes for the first SIM are colliding.