service: Both Cancel and Stop Online Checks where Appropriate
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | service: Add support for 'CONNMAN_IPCONFIG_TYPE_ALL' to 'cancel_online_check'.src/ | +28 | 0 replies | |
| 2/2 | service: Both cancel and stop online checks where appropriate.src/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] service: Both Cancel and Stop Online Checks where Appropriate
This both cancels, via 'cancel_online_check', and stops, via '__connman_wispr_stop' online checks on service disconnect or free. The former terminates any in-flight or recurring check activity in "service.c" and the latter terminates the same in "wispr.c".
Failure to cancel as well as stop can lead to a use-after-free fault in one-shot or continuous online check mode when a latent online check reschedule timer fires after the service has been disconnected or deallocated.
To support these cancelations with a single 'cancel_online_check' function call, support is added for passing 'CONNMAN_IPCONFIG_TYPE_ALL' to 'cancel_online_check' as the IP configuration type parameter.
Grant Erickson (2):
service: Add support for 'CONNMAN_IPCONFIG_TYPE_ALL' to
'cancel_online_check'.
service: Both cancel and stop online checks where appropriate.
src/service.c | 43 +++++++++++++++++++++++++++++++++---------- 1 file changed, 33 insertions(+), 10 deletions(-)
Signature · 1 line
2.42.0