Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- net/ipv4/tcp.c, line 1076
- net/ipv4/tcp_ipv4.c, line 345
- net/ipv4/tcp_output.c, line 4404
- net/ipv6/tcp_ipv6.c, line 346
Smatch caller information:
net/ipv4/tcp_ipv4.c tcp_v4_connect() -> tcp_connect()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_bind_node->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->ipv4.fib_main->tb_data->kv->key | 0-4294967295 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->loopback_dev->refcnt_tracker.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->loopback_dev->refcnt_tracker.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->mctp.bind_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->mctp.bind_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->mctp.bind_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->mctp.bind_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->mctp.keys_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->notrefcnt_tracker.dead | 1 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->notrefcnt_tracker.quarantine.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->refcnt_tracker.dead | 1 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_node->next->pprev | 1-u64max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_nulls_node.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_prot->h.raw_hash->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_prot->h.smc_hash->lock->owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_prot->h.smc_hash->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_prot->h.smc_hash->lock.owner | (-1) |
| PARAM_VALUE | 0 | sk->__sk_common.skc_prot->h.smc_hash->lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_prot->h.smc_hash->lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_prot->h.smc_hash->lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_state | 0-5,7-255 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_tx_queue_mapping | u16max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_u16hashes | 0-u32max |
| PARAM_VALUE | 0 | sk->listener->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | sk->listener->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | sk->listener->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | sk->listener->sk_callback_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->listener->sk_lock.owned | 1 |
| PARAM_VALUE | 0 | sk->listener->sk_lock.slock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->listener->sk_owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | sk->listener->sk_prot_creator->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | sk->sk_backlog.head->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | sk->sk_backlog.head->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | sk->sk_backlog.head->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | sk->sk_bpf_storage->owner_refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | sk->sk_dst_pending_confirm | 0 |
| PARAM_VALUE | 0 | sk->sk_error_queue.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_error_queue.next->prev | 2011684551238094848 |
| PARAM_VALUE | 0 | sk->sk_error_queue.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_error_queue.prev->next | 2011684551238094848 |
| PARAM_VALUE | 0 | sk->sk_error_queue.qlen | 0 |
| PARAM_VALUE | 0 | sk->sk_filter->rcu.func | 1-u64max |
| PARAM_VALUE | 0 | sk->sk_filter->rcu.next | 0 |
| PARAM_VALUE | 0 | sk->sk_gso_max_segs | 1-u16max |
| PARAM_VALUE | 0 | sk->sk_gso_type | 1 |
| PARAM_VALUE | 0 | sk->sk_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->sk_memcg->css.refcnt.data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | sk->sk_prot_creator->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | sk->sk_rcu.func | 1-u64max |
| PARAM_VALUE | 0 | sk->sk_rcu.next | 0 |
| PARAM_VALUE | 0 | sk->sk_reserved_mem | 0 |
| PARAM_VALUE | 0 | sk->sk_reuseport_cb | 0 |
| PARAM_VALUE | 0 | sk->sk_reuseport_cb->rcu.func | 1-u64max |
| PARAM_VALUE | 0 | sk->sk_reuseport_cb->rcu.next | 0 |
| PARAM_VALUE | 0 | sk->sk_txhash | 1-u32max |
| PARAM_VALUE | 0 | sk->sk_user_data | 0 |
| PARAM_VALUE | 0 | *sk->sk_backlog.head->dev->name | 0-255 |
| CAPPED_DATA | 0 | sk | 1 |
| DATA_SOURCE | 0 | sk | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_backlog.len | |
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_prot_creator->twsk_prot->twsk_slab->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_receive_queue.prev->data_len | |
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_receive_queue.prev->next->data_len | |
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_write_queue.next->data_len | |
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_write_queue.next->prev->data_len | |
| HALF_LOCKED2 | 0 | sk |
net/ipv4/tcp.c tcp_sendmsg_fastopen() -> tcp_connect()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_lock.owned | 1 |
| PARAM_VALUE | 0 | sk->sk_lock.slock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->sk_lock.wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_lock.wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_lock.wq.head.prev->next->next | 4096-ptr_max |
| CAPPED_DATA | 0 | sk->__sk_common.skc_net.net | 1 |
| DATA_SOURCE | 0 | sk | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sk | unit_byte |
| LOCK2 | sk | ||
| LOCK2 | 0 | sk | |
| HALF_LOCKED2 | &vq->mutex |
net/ipv6/tcp_ipv6.c tcp_v6_connect() -> tcp_connect()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_bind_node->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->loopback_dev->refcnt_tracker.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->loopback_dev->refcnt_tracker.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->mctp.bind_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->mctp.bind_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->mctp.bind_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->mctp.bind_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->mctp.keys_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->notrefcnt_tracker.dead | 1 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->notrefcnt_tracker.quarantine.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_net.net->refcnt_tracker.dead | 1 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_node->next->pprev | 1-u64max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_nulls_node.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_prot->h.raw_hash->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_prot->h.smc_hash->lock->owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_prot->h.smc_hash->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_prot->h.smc_hash->lock.owner | (-1) |
| PARAM_VALUE | 0 | sk->__sk_common.skc_prot->h.smc_hash->lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_prot->h.smc_hash->lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_prot->h.smc_hash->lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_state | 2,7 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_u16hashes | 0-u32max |
| PARAM_VALUE | 0 | sk->listener->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | sk->listener->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | sk->listener->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | sk->listener->sk_callback_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->listener->sk_lock.owned | 1 |
| PARAM_VALUE | 0 | sk->listener->sk_lock.slock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->listener->sk_owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | sk->listener->sk_prot_creator->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | sk->sk_backlog.head->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | sk->sk_backlog.head->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | sk->sk_backlog.head->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | sk->sk_bpf_storage->owner_refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | sk->sk_error_queue.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_error_queue.next->prev | 2011684551238094848 |
| PARAM_VALUE | 0 | sk->sk_error_queue.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_error_queue.prev->next | 2011684551238094848 |
| PARAM_VALUE | 0 | sk->sk_error_queue.qlen | 0 |
| PARAM_VALUE | 0 | sk->sk_filter->rcu.func | 1-u64max |
| PARAM_VALUE | 0 | sk->sk_filter->rcu.next | 0 |
| PARAM_VALUE | 0 | sk->sk_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sk->sk_memcg->css.refcnt.data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | sk->sk_prot_creator->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | sk->sk_rcu.func | 1-u64max |
| PARAM_VALUE | 0 | sk->sk_rcu.next | 0 |
| PARAM_VALUE | 0 | sk->sk_reserved_mem | 0 |
| PARAM_VALUE | 0 | sk->sk_reuseport_cb | 0 |
| PARAM_VALUE | 0 | sk->sk_reuseport_cb->rcu.func | 1-u64max |
| PARAM_VALUE | 0 | sk->sk_reuseport_cb->rcu.next | 0 |
| PARAM_VALUE | 0 | sk->sk_user_data | 0 |
| PARAM_VALUE | 0 | *sk->sk_backlog.head->dev->name | 0-255 |
| CAPPED_DATA | 0 | sk | 1 |
| DATA_SOURCE | 0 | sk | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_backlog.len | |
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_prot_creator->twsk_prot->twsk_slab->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_receive_queue.prev->data_len | |
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_receive_queue.prev->next->data_len | |
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_write_queue.next->data_len | |
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_write_queue.next->prev->data_len | |
| HALF_LOCKED2 | 0 | sk |