Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/net/wireguard/cookie.c, line 235
- drivers/net/wireguard/device.c
- drivers/net/wireguard/netlink.c
- drivers/net/wireguard/noise.c
- drivers/net/wireguard/peer.c, line 149
- drivers/net/wireguard/queueing.h
- drivers/net/wireguard/receive.c
- drivers/net/wireguard/send.c
- drivers/net/wireguard/timers.c
Smatch caller information:
drivers/net/wireguard/peer.c peer_remove_after_dead() -> wg_peer_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->clear_peer_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | peer->device | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->handshake.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | peer->handshake.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | peer->keypairs.current_keypair | 0 |
| PARAM_VALUE | 0 | peer->keypairs.current_keypair->entry.index_hash->next->pprev | 1-u64max |
| PARAM_VALUE | 0 | peer->keypairs.current_keypair->entry.index_hash.next->pprev | 1-u64max |
| PARAM_VALUE | 0 | peer->keypairs.keypair_update_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | peer->keypairs.next_keypair | 0 |
| PARAM_VALUE | 0 | peer->keypairs.next_keypair->entry.index_hash->next->pprev | 1-u64max |
| PARAM_VALUE | 0 | peer->keypairs.next_keypair->entry.index_hash.next->pprev | 1-u64max |
| PARAM_VALUE | 0 | peer->keypairs.previous_keypair | 0 |
| PARAM_VALUE | 0 | peer->keypairs.previous_keypair->entry.index_hash->next->pprev | 1-u64max |
| PARAM_VALUE | 0 | peer->keypairs.previous_keypair->entry.index_hash.next->pprev | 1-u64max |
| PARAM_VALUE | 0 | peer->napi->thread->delays->lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | peer->napi.config | 0,4096-ptr_max |
| PARAM_VALUE | 0 | peer->napi.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->napi.dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | peer->napi.dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | peer->napi.dev->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | peer->napi.dev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | peer->napi.dev->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | peer->napi.dev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | peer->napi.dev->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | peer->napi.dev_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->napi.gro.bitmask | 0 |
| PARAM_VALUE | 0 | peer->napi.gro.cached_napi_id | 0 |
| PARAM_VALUE | 0 | peer->napi.gro.rx_count | 0 |
| PARAM_VALUE | 0 | peer->napi.index | (-1) |
| PARAM_VALUE | 0 | peer->napi.napi_hash_node->next->pprev | 1-u64max |
| PARAM_VALUE | 0 | peer->napi.napi_hash_node.next->pprev | 1-u64max |
| PARAM_VALUE | 0 | peer->napi.napi_hash_node.pprev | 0 |
| PARAM_VALUE | 0 | peer->napi.skb | 0 |
| PARAM_VALUE | 0 | peer->napi.thread | 0 |
| PARAM_VALUE | 0 | peer->napi.timer.is_queued | 0 |
| PARAM_VALUE | 0 | peer->napi.timer.node.node.next | 0 |
| PARAM_VALUE | 0 | peer->napi.timer.node.node.prev | 0 |
| PARAM_VALUE | 0 | peer->timer_new_handshake.entry.pprev | 0 |
| PARAM_VALUE | 0 | peer->timer_new_handshake.flags | 0-4194302 |
| PARAM_VALUE | 0 | peer->timer_new_handshake.function | 0 |
| PARAM_VALUE | 0 | peer->timer_persistent_keepalive.flags | 0-4194302 |
| PARAM_VALUE | 0 | peer->timer_retransmit_handshake.flags | 0-4194302 |
| PARAM_VALUE | 0 | peer->timer_send_keepalive.entry.pprev | 0 |
| PARAM_VALUE | 0 | peer->timer_send_keepalive.flags | 0-4194302 |
| PARAM_VALUE | 0 | peer->timer_send_keepalive.function | 0 |
| PARAM_VALUE | 0 | peer->timer_zero_key_material.flags | 0-4194302 |
| PARAM_VALUE | 0 | peer->timer_zero_key_material.function | 0 |
| CAPPED_DATA | 0 | peer->napi.timer.base | 1 |
| DATA_SOURCE | 0 | peer | $0 |
| PARAM_COMPARE | 0 | &peer->napi.timer | != $0->napi.timer.base->running |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | peer->handshake->preshared_key | 0-255 |
| USER_DATA | 0 | peer->handshake->remote_static | 0-255 |
| LOCK2 | &wg->device_update_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct wg_device)->device_update_lock |
drivers/net/wireguard/send.c wg_packet_create_data() -> wg_peer_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->handshake.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | peer->handshake.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | peer->staged_packet_queue.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | peer->staged_packet_queue.next | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->staged_packet_queue.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->staged_packet_queue.qlen | 0 |
| PARAM_VALUE | 0 | peer->tx_queue.count.counter | 0-s32max |
| CAPPED_DATA | 0 | peer | 1 |
| DATA_SOURCE | 0 | peer | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | peer->handshake->preshared_key | 0-255 |
| USER_DATA | 0 | peer->handshake->remote_static | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | peer->staged_packet_queue.next->prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | peer->staged_packet_queue.prev->end | |
| NO_OVERFLOW_SIMPLE | 0 | peer->staged_packet_queue.prev->len | |
| NO_OVERFLOW_SIMPLE | 0 | peer->staged_packet_queue.prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | peer->staged_packet_queue.prev->truesize | |
| HALF_LOCKED2 | &wg->device_update_lock | ||
| HALF_LOCKED2 | &wg->static_identity.lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireguard/send.c wg_packet_handshake_send_worker() -> wg_peer_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->handshake.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | peer->handshake.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | peer->handshake.static_identity->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | peer->handshake.static_identity->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | peer->latest_cookie.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | peer->latest_cookie.lock.first_waiter->type | 0-1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/wireguard/send.c wg_packet_send_queued_handshake_initiation() -> wg_peer_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->device | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->handshake.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | peer->handshake.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | peer->is_dead | 0 |
| PARAM_VALUE | 0 | peer->timer_handshake_attempts | 0-19 |
| CAPPED_DATA | 0 | peer | 1 |
| CAPPED_DATA | 0 | &peer->transmit_handshake_work | 1 |
| DATA_SOURCE | 0 | peer | $0 |
| FUZZY_MAX | 0 | peer->timer_handshake_attempts | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | peer->handshake->preshared_key | 0-255 |
| USER_DATA | 0 | peer->handshake->remote_static | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | peer->staged_packet_queue.next->prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | peer->staged_packet_queue.prev->end | |
| NO_OVERFLOW_SIMPLE | 0 | peer->staged_packet_queue.prev->len | |
| NO_OVERFLOW_SIMPLE | 0 | peer->staged_packet_queue.prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | peer->staged_packet_queue.prev->truesize | |
| LOCK2 | rcu_read |
drivers/net/wireguard/send.c wg_packet_tx_worker() -> wg_peer_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->tx_queue.peeked | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/wireguard/send.c wg_queue_enqueue_per_peer_tx() -> wg_peer_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->device | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->serial_work_cpu | 0-8192 |
| CAPPED_DATA | 0 | &peer->transmit_packet_work | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
drivers/net/wireguard/receive.c wg_packet_consume_data() -> wg_peer_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 0,4096-ptr_max |
| PARAM_VALUE | 0 | peer->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | peer->rx_queue.count.counter | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/wireguard/receive.c wg_packet_consume_data_done() -> wg_peer_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | peer | r wg_allowedips_lookup_src |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/wireguard/receive.c wg_packet_rx_poll() -> wg_peer_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->rx_queue.peeked | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/wireguard/receive.c wg_queue_enqueue_per_peer_rx() -> wg_peer_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
drivers/net/wireguard/receive.c wg_receive_handshake_packet() -> wg_peer_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->device | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->device->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->endpoint_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | peer->handshake.entry.index_hash.next | 0 |
| PARAM_VALUE | 0 | peer->handshake.entry.peer->device->index_hashtable->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | peer->handshake.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | peer->handshake.lock.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | peer->handshake.lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | peer->handshake.lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | peer->handshake.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | peer->handshake.remote_index | 0 |
| PARAM_VALUE | 0 | peer->handshake.state | 0,2-3 |
| PARAM_VALUE | 0 | peer->handshake.static_identity->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | peer->handshake.static_identity->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | peer->keypairs.current_keypair | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->keypairs.current_keypair->entry.index_hash->next->pprev | 1-u64max |
| PARAM_VALUE | 0 | peer->keypairs.keypair_update_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | peer->keypairs.next_keypair | 0,4096-ptr_max |
| PARAM_VALUE | 0 | peer->keypairs.next_keypair->entry.index_hash->next->pprev | 1-u64max |
| PARAM_VALUE | 0 | peer->keypairs.next_keypair->rcu.func | 1-u64max |
| PARAM_VALUE | 0 | peer->keypairs.next_keypair->rcu.next | 0 |
| PARAM_VALUE | 0 | peer->keypairs.previous_keypair->entry.index_hash->next->pprev | 1-u64max |
| PARAM_VALUE | 0 | peer->keypairs.previous_keypair->rcu.func | 1-u64max |
| PARAM_VALUE | 0 | peer->latest_cookie.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | peer->latest_cookie.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | peer->timer_new_handshake.entry.pprev | 0 |
| PARAM_VALUE | 0 | peer->timer_new_handshake.flags | 0-4194302 |
| PARAM_VALUE | 0 | peer->timer_new_handshake.function | 0 |
| PARAM_VALUE | 0 | *peer->latest_cookie.last_mac1_sent | 0-255 |
| NOCHECK_CALL |
drivers/net/wireguard/cookie.c wg_cookie_message_consume() -> wg_peer_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->latest_cookie.cookie_decryption_key | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->latest_cookie.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | peer->latest_cookie.lock.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | peer->latest_cookie.lock.first_waiter->list.next | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | peer->latest_cookie.lock.first_waiter->list.prev | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | peer->latest_cookie.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | peer->latest_cookie.lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | peer->latest_cookie.lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | peer->latest_cookie.lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | peer->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| CAPPED_DATA | 0 | &peer->latest_cookie.lock | 1 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | *peer->latest_cookie.cookie | 0-255 |
| USER_PTR | 0 | peer->latest_cookie.cookie |
drivers/net/wireguard/device.c wg_xmit() -> wg_peer_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->endpoint.addr.sa_family | 2,10 |
| PARAM_VALUE | 0 | peer->staged_packet_queue.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | peer->staged_packet_queue.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->staged_packet_queue.prev->next | 4096-3071435091995373567,3071435091995373569-ptr_max |
| DATA_SOURCE | 0 | peer | r wg_allowedips_lookup_dst |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/wireguard/device.c wg_xmit() -> wg_peer_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 1-u64max |
| DATA_SOURCE | 0 | peer | r wg_allowedips_lookup_dst |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/wireguard/noise.c wg_noise_handshake_consume_initiation() -> wg_peer_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 0,4096-ptr_max |
| PARAM_VALUE | 0 | peer->handshake.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | peer->handshake.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | peer->handshake.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | peer->handshake.state | 2 |
| PARAM_VALUE | 0 | peer->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| NOCHECK_CALL |
drivers/net/wireguard/noise.c wg_noise_handshake_consume_response() -> wg_peer_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| NOCHECK_CALL | |||
| LOCK2 | &wg->static_identity.lock | ||
| TYPE_LOCK | (struct noise_static_identity)->lock |
drivers/net/wireguard/netlink.c set_peer() -> wg_peer_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 0,4096-ptr_max |
| PARAM_VALUE | 0 | peer->handshake.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | peer->handshake.lock.first_waiter->type | 0-1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | peer->handshake->preshared_key | 0-255 |
| USER_DATA | 0 | peer->handshake->remote_static | 0-255 |
| LOCK2 | &wg->device_update_lock | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| TYPE_LOCK | (struct wg_device)->device_update_lock |
drivers/net/wireguard/netlink.c wg_get_device_done() -> wg_peer_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/wireguard/netlink.c wg_get_device_dumpit() -> wg_peer_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &wg->device_update_lock | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex | ||
| TYPE_LOCK | (struct wg_device)->device_update_lock |
drivers/net/wireguard/netlink.c wg_set_device_doit() -> wg_peer_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| DATA_SOURCE | 0 | peer | r wg_pubkey_hashtable_lookup |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &wg->device_update_lock | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| TYPE_LOCK | (struct wg_device)->device_update_lock |
drivers/net/wireguard/timers.c wg_expired_zero_key_material() -> wg_peer_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->device | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->is_dead | 0 |
| CAPPED_DATA | 0 | &peer->clear_peer_work | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read |
drivers/net/wireguard/timers.c wg_queued_expired_zero_key_material() -> wg_peer_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->handshake.entry.index_hash->next->pprev | 1-u64max |
| PARAM_VALUE | 0 | peer->handshake.entry.index_hash.next->pprev | 1-u64max |
| PARAM_VALUE | 0 | peer->handshake.entry.index_hash.pprev | 0 |
| PARAM_VALUE | 0 | peer->handshake.entry.peer | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->handshake.entry.peer->device | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->handshake.entry.peer->device->index_hashtable | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->handshake.entry.peer->device->index_hashtable->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | peer->handshake.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | peer->handshake.lock.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | peer->handshake.lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | peer->handshake.lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | peer->handshake.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | peer->handshake.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | peer->handshake.remote_index | 0 |
| PARAM_VALUE | 0 | peer->handshake.state | 0 |
| PARAM_VALUE | 0 | peer->keypairs.current_keypair | 0 |
| PARAM_VALUE | 0 | peer->keypairs.current_keypair->entry.index_hash->next->pprev | 1-u64max |
| PARAM_VALUE | 0 | peer->keypairs.current_keypair->entry.index_hash.next->pprev | 1-u64max |
| PARAM_VALUE | 0 | peer->keypairs.keypair_update_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | peer->keypairs.next_keypair | 0 |
| PARAM_VALUE | 0 | peer->keypairs.next_keypair->entry.index_hash->next->pprev | 1-u64max |
| PARAM_VALUE | 0 | peer->keypairs.next_keypair->entry.index_hash.next->pprev | 1-u64max |
| PARAM_VALUE | 0 | peer->keypairs.previous_keypair | 0 |
| PARAM_VALUE | 0 | peer->keypairs.previous_keypair->entry.index_hash->next->pprev | 1-u64max |
| PARAM_VALUE | 0 | peer->keypairs.previous_keypair->entry.index_hash.next->pprev | 1-u64max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |