mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-04 23:28:08 +02:00
device: order assert before logging in concheck_cb()
This commit is contained in:
parent
e8588d0c6f
commit
5a24ad53ad
1 changed files with 4 additions and 4 deletions
|
|
@ -3024,15 +3024,15 @@ concheck_cb (NMConnectivity *connectivity,
|
|||
/* keep @self alive, while we invoke callbacks. */
|
||||
priv = NM_DEVICE_GET_PRIVATE (self);
|
||||
|
||||
nm_assert (handle && c_list_contains (&priv->concheck_lst_head, &handle->concheck_lst));
|
||||
|
||||
seq = handle->seq;
|
||||
|
||||
_LOGT (LOGD_CONCHECK, "connectivity: [Ipv%c] complete check (seq:%llu, state:%s)",
|
||||
nm_utils_addr_family_to_char (handle->addr_family),
|
||||
(long long unsigned) handle->seq,
|
||||
nm_connectivity_state_to_string (state));
|
||||
|
||||
nm_assert (handle && c_list_contains (&priv->concheck_lst_head, &handle->concheck_lst));
|
||||
|
||||
seq = handle->seq;
|
||||
|
||||
/* find out, if there are any periodic checks pending (either whether they
|
||||
* were scheduled before or after @handle. */
|
||||
any_periodic_before = FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue