Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- include/net/request_sock.h
- net/ipv4/inet_connection_sock.c
- net/ipv4/syncookies.c, line 222
- net/ipv4/tcp_input.c, line 7801
Smatch caller information:
net/ipv4/tcp_ipv4.c reqsk_put() -> __reqsk_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| CAPPED_DATA | 0 | req | 1 |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | req | unit_byte |
net/ipv4/syncookies.c reqsk_free() -> __reqsk_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |
net/ipv4/syncookies.c reqsk_put() -> __reqsk_free()
| 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_listener->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | req->__req_common.skc_listener->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | req->__req_common.skc_listener->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | req->__req_common.skc_rcv_wnd | 0-s32max |
| 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 | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |
net/ipv4/syncookies.c tcp_get_cookie_sock() -> __reqsk_free()
| 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_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 reqsk_free() -> __reqsk_free()
| 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_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->saved_syn | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req->sk | 0 |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |
net/ipv4/tcp_input.c reqsk_put() -> __reqsk_free()
| 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_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_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 |
| CAPPED_DATA | 0 | req | 1 |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |
net/ipv4/tcp_input.c tcp_conn_request() -> __reqsk_free()
| 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 | 0,2 |
| 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-u16max |
| PARAM_VALUE | 0 | req->saved_syn | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req->sk | 0,4096-ptr_max |
| DATA_SOURCE | 0 | req | r inet_reqsk_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/ipv6/syncookies.c reqsk_free() -> __reqsk_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 1-u64max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |
net/ipv4/inet_connection_sock.c inet_csk_complete_hashdance() -> __reqsk_free()
| 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 | 1 |
| 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->dl_next | 0 |
| PARAM_VALUE | 0 | req->saved_syn | 0 |
| PARAM_VALUE | 0 | req->sk | 4096-ptr_max |
| 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 inet_csk_listen_stop() -> __reqsk_free()
| 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 | 1 |
| 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->dl_next | 0 |
| PARAM_VALUE | 0 | req->saved_syn | 0 |
| PARAM_VALUE | 0 | req->sk | 4096-ptr_max |
| DATA_SOURCE | 0 | req | r inet_reqsk_clone |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | req->__req_common.skc_listener->sk_backlog.len | |
| LOCK2 | &child->sk_lock.slock | ||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct socket_lock_t)->slock |
net/ipv4/inet_connection_sock.c reqsk_put() -> __reqsk_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| CAPPED_DATA | 0 | req | 1 |
| DATA_SOURCE | 0 | req | $0 |
| 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 |
| HALF_LOCKED2 | &child->sk_lock.slock | ||
| HALF_LOCKED2 | bh |
net/ipv4/inet_connection_sock.c reqsk_timer_handler() -> __reqsk_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->__sk_common.skc_node.pprev | 0 |
| PARAM_VALUE | 0 | req->rsk_timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | req->saved_syn | 0 |
| 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_hashtables.c reqsk_free() -> __reqsk_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &seq->lock | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem | ||
| HALF_LOCKED2 | global &tcp_exit_batch_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/core/sock.c reqsk_free() -> __reqsk_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &commonring->lock | ||
| HALF_LOCKED2 | &dlc->lock | ||
| HALF_LOCKED2 | &fq->q.lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &priv->driver_lock | ||
| HALF_LOCKED2 | &qp->q.lock | ||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &rfcomm_dev_lock | ||
| HALF_LOCKED2 | global &rfcomm_ioctl_mutex | ||
| HALF_LOCKED2 | global &rfcomm_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/ipv4/tcp_fastopen.c reqsk_put() -> __reqsk_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| DATA_SOURCE | 0 | req | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | req | unit_byte |
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/ipv6/tcp_ipv6.c reqsk_put() -> __reqsk_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| CAPPED_DATA | 0 | req | 1 |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | req | unit_byte |