Address Unhandled Gateway Route Lifecycle Events/Transitions
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | inet: Use '__connman_inet_rtnl_recv' for RTNL default route transaction.src/ | +6 | 0 replies | |
| 2/5 | gateway: Handle -ESRCH in 'unset_default_gateway_route_common'.src/ | +25 | 0 replies | |
| 3/5 | gateway: Address unhandled gateway lifecycle events/transitions.src/ | +21 | 0 replies | |
| 4/5 | gateway: Add and leveage 'gateway_config_set_{,in}active'.src/ | +18 | 0 replies | |
| 5/5 | gateway: Expand the @param documentation for 'yield_default_gateway{,_for_type}'.src/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Address Unhandled Gateway Route Lifecycle Events/Transitions
There were a number of "escapes" or unhandled events and transitions that did not adhere to the documented gateway configuration lifecycle / state machine.
Failure to handle these was resulting in duplicate default routes, no default routes, and incorrect default route priorities for some services and their underlying network interfaces.
These "escapes" were handled in three primary ways with this patch series:
1. Leveraging '__connman_inet_rtnl_recv' in 'iproute_default_modify'.
2. Leveraging -ESRCH returned by 'iproute_default_modify'.
3. Adding explicit conditional cases for the "escapes" not otherwise
covered by (1) and (2).
Grant Erickson (5):
inet: Use '__connman_inet_rtnl_recv' for RTNL default route
transaction.
gateway: Handle -ESRCH in 'unset_default_gateway_route_common'.
gateway: Address unhandled gateway lifecycle events/transitions.
gateway: Add and leveage 'gateway_config_set_{,in}active'.
gateway: Expand the @param documentation for
'yield_default_gateway{,_for_type}'.src/gateway.c | 80 +++++++++++++++++++++++++++++++++++++++------------ src/inet.c | 6 ++++ 2 files changed, 68 insertions(+), 18 deletions(-)
Signature · 1 line
2.42.0