Defined in 1 files as a function:
Referenced in 6 files:
- net/ipv4/inet_connection_sock.c
- net/ipv4/syncookies.c, line 212
- net/ipv4/tcp_fastopen.c
- net/ipv4/tcp_input.c, line 7795
- net/ipv4/tcp_ipv4.c
- net/ipv6/tcp_ipv6.c
Smatch caller information:
net/ipv4/tcp_ipv4.c tcp_req_err() -> reqsk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| NOCHECK_CALL |
net/ipv4/tcp_ipv4.c tcp_v4_rcv() -> reqsk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__req_common.skc_listener | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__req_common.skc_listener->__sk_common.skc_state | 0-5,7-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | req | unit_byte |
| HALF_LOCKED2 | rcu_read |
net/ipv4/tcp_ipv4.c tcp_v4_rcv() -> reqsk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__req_common.skc_listener->__sk_common.skc_state | 0-5,7-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | req | unit_byte |
| HALF_LOCKED2 | rcu_read |
net/ipv4/tcp_ipv4.c tcp_v4_rcv() -> reqsk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__req_common.skc_listener | 4096-ptr_max |
| CAPPED_DATA | 0 | req | 1 |
| CAPPED_DATA | 0 | req->__req_common.skc_listener | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | req | unit_byte |
| HALF_LOCKED2 | rcu_read |
net/ipv4/tcp_ipv4.c tcp_v4_rcv() -> reqsk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__req_common.skc_listener | 4096-ptr_max |
| CAPPED_DATA | 0 | req | 1 |
| CAPPED_DATA | 0 | req->__req_common.skc_listener | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | req | unit_byte |
| HALF_LOCKED2 | rcu_read |
net/ipv4/syncookies.c tcp_get_cookie_sock() -> reqsk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__req_common.skc_incoming_cpu | 0-s32max |
| PARAM_VALUE | 0 | req->__req_common.skc_rcv_wnd | 0-s32max |
| PARAM_VALUE | 0 | req->__req_common.skc_refcnt.refs.counter | 1 |
| PARAM_VALUE | 0 | req->__req_common.skc_tw_rcv_nxt | 0-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| DATA_SOURCE | 0 | req | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |
net/ipv4/tcp_input.c tcp_conn_request() -> reqsk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__req_common.skc_flags | 0,4096-18446744073709547520 |
| PARAM_VALUE | 0 | req->__req_common.skc_incoming_cpu | 0-s32max |
| PARAM_VALUE | 0 | req->__req_common.skc_listener | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req->__req_common.skc_rcv_wnd | 0-s32max |
| PARAM_VALUE | 0 | req->__req_common.skc_refcnt.refs.counter | 2-3 |
| PARAM_VALUE | 0 | req->__req_common.skc_tw_dr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req->__req_common.skc_tw_rcv_nxt | 0-s32max |
| PARAM_VALUE | 0 | req->num_retrans | 0 |
| PARAM_VALUE | 0 | req->num_timeout | 0 |
| PARAM_VALUE | 0 | req->rsk_ops | 6033189039505203200,7526321648135888896,7759756757659627520,8053103009269706752 |
| PARAM_VALUE | 0 | req->rsk_ops->family | 0,2,10 |
| PARAM_VALUE | 0 | req->rsk_timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | req->rsk_timer.entry.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req->rsk_timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | req->saved_syn | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req->sk | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req->syncookie | 0 |
| PARAM_VALUE | 0 | req->timeout | 250 |
| DATA_SOURCE | 0 | req | r inet_reqsk_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/ipv4/inet_connection_sock.c __inet_csk_reqsk_queue_drop() -> reqsk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| CAPPED_DATA | 0 | req | 1 |
| DATA_SOURCE | 0 | req | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | req->__req_common.skc_listener->sk_backlog.len | |
| UNITS | 0 | req | unit_byte |
net/ipv4/inet_connection_sock.c __inet_csk_reqsk_queue_drop() -> reqsk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| CAPPED_DATA | 0 | req | 1 |
| CAPPED_DATA | 0 | &req->rsk_timer | 1 |
| DATA_SOURCE | 0 | req | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | req->__req_common.skc_listener->sk_backlog.len | |
| UNITS | 0 | req | unit_byte |
net/ipv4/inet_connection_sock.c inet_csk_accept() -> reqsk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | r reqsk_queue_remove |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/ipv4/inet_connection_sock.c inet_csk_complete_hashdance() -> reqsk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->rsk_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | req->rsk_ops->slab | 4096-ptr_max |
| PARAM_VALUE | 0 | req->rsk_ops->slab->object_size | 0-4294967295 |
| PARAM_VALUE | 0 | req->saved_syn | 0 |
| CAPPED_DATA | 0 | req | 1 |
| CAPPED_DATA | 0 | req->rsk_ops->slab | 1 |
| DATA_SOURCE | 0 | req | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | req | unit_byte |
net/ipv4/inet_connection_sock.c inet_csk_listen_stop() -> reqsk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->sk | 4096-ptr_max |
| PARAM_VALUE | 0 | req->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | req->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | req->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | req->sk->sk_callback_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | req->sk->sk_error_queue.next->prev | 2011684551238094848 |
| PARAM_VALUE | 0 | req->sk->sk_error_queue.prev->next | 2011684551238094848 |
| PARAM_VALUE | 0 | req->sk->sk_lock.owned | 0-1 |
| PARAM_VALUE | 0 | req->sk->sk_lock.slock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | req->sk->sk_owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | req->sk->sk_prot_creator->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | req->sk->sk_reuseport_cb->rcu.func | 1-u64max |
| DATA_SOURCE | 0 | req | r reqsk_queue_remove |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &child->sk_lock.slock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct socket_lock_t)->slock |
net/ipv4/inet_connection_sock.c inet_csk_listen_stop() -> reqsk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__req_common.skc_listener->sk_bpf_storage->owner_refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | req->__req_common.skc_listener->sk_rcu.func | 1-u64max |
| PARAM_VALUE | 0 | req->__req_common.skc_listener->sk_rcu.next | 0 |
| PARAM_VALUE | 0 | req->__req_common.skc_listener->sk_reuseport_cb->rcu.func | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | req | unit_byte |
| HALF_LOCKED2 | sk |
net/ipv4/inet_connection_sock.c inet_csk_reqsk_queue_drop_and_put() -> reqsk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| CAPPED_DATA | 0 | req | 1 |
| DATA_SOURCE | 0 | req | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | req | unit_byte |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem | ||
| HALF_LOCKED2 | global &tcp_exit_batch_mutex |
net/ipv4/inet_connection_sock.c reqsk_timer_handler() -> reqsk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->saved_syn | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/ipv4/inet_connection_sock.c reqsk_timer_handler() -> reqsk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__req_common.skc_flags | 1-18446744073709547520 |
| PARAM_VALUE | 0 | req->__req_common.skc_listener | 1-ptr_max |
| PARAM_VALUE | 0 | req->__req_common.skc_refcnt.refs.counter | 3 |
| PARAM_VALUE | 0 | req->__req_common.skc_tw_dr | 1-ptr_max |
| PARAM_VALUE | 0 | req->__sk_common.skc_node.pprev | 0 |
| PARAM_VALUE | 0 | req->rsk_timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | req->rsk_timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | req->rsk_timer.lockdep_map->name | 0-255 |
| DATA_SOURCE | 0 | req | r inet_reqsk_clone |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | req->__req_common.skc_listener->sk_backlog.len |
net/ipv4/inet_connection_sock.c reqsk_timer_handler() -> reqsk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/ipv4/tcp_fastopen.c reqsk_fastopen_remove() -> reqsk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->sk | 0 |
| DATA_SOURCE | 0 | req | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | req | unit_byte |
| HALF_LOCKED2 | &sk->sk_lock.slock |
net/ipv4/tcp_fastopen.c tcp_fastopen_queue_check() -> reqsk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | req | unit_byte |
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |
net/ipv6/tcp_ipv6.c tcp_v6_rcv() -> reqsk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__req_common.skc_listener | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__req_common.skc_listener->__sk_common.skc_state | 0-5,7-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | req | unit_byte |
net/ipv6/tcp_ipv6.c tcp_v6_rcv() -> reqsk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__req_common.skc_listener->__sk_common.skc_state | 0-5,7-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | req | unit_byte |
net/ipv6/tcp_ipv6.c tcp_v6_rcv() -> reqsk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__req_common.skc_listener | 4096-ptr_max |
| CAPPED_DATA | 0 | req | 1 |
| CAPPED_DATA | 0 | req->__req_common.skc_listener | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | req | unit_byte |
net/ipv6/tcp_ipv6.c tcp_v6_rcv() -> reqsk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__req_common.skc_listener | 4096-ptr_max |
| CAPPED_DATA | 0 | req | 1 |
| CAPPED_DATA | 0 | req->__req_common.skc_listener | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | req | unit_byte |