Defined in 1 files as a function:
Referenced in 5 files:
- net/core/sock.c, line 2828
- net/ipv4/inet_hashtables.c, line 518
- net/ipv4/syncookies.c
- net/ipv4/tcp_input.c
- net/ipv6/syncookies.c, line 285
Smatch caller information:
net/ipv4/syncookies.c cookie_bpf_check() -> reqsk_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req->num_retrans | 0 |
| PARAM_VALUE | 0 | req->token | 0-4294967295 |
| DATA_SOURCE | 0 | req | r inet_reqsk |
| BIT_INFO | 0 | req | 0x1,0x1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |
net/ipv4/syncookies.c cookie_tcp_reqsk_alloc() -> 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_listener | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req->__req_common.skc_refcnt.refs.counter | 0 |
| PARAM_VALUE | 0 | req->__req_common.skc_tw_dr | 0,4096-ptr_max |
| 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 |
| PARAM_VALUE | 0 | req->sk | 0 |
| PARAM_VALUE | 0 | req->syncookie | 0 |
| PARAM_VALUE | 0 | req->token | 0-4294967295 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |
net/ipv4/syncookies.c cookie_v4_check() -> reqsk_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 1-u64max |
| PARAM_VALUE | 0 | req->rsk_ops->destructor | 0,482498483615858688,1495683158723624960,5439799986703392768,7892089423447875584 |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| 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_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 |
| 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->saved_syn | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req->sk | 0 |
| PARAM_VALUE | 0 | req->syncookie | 0 |
| DATA_SOURCE | 0 | req | r inet_reqsk_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
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 |
| 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->mss | 536,1220 |
| 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->saved_syn | 0 |
| PARAM_VALUE | 0 | req->sk | 0 |
| PARAM_VALUE | 0 | req->syncookie | 1 |
| 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 cookie_v6_check() -> reqsk_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 1-u64max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| BUF_SIZE | 0 | req | (-1)-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |
net/ipv4/inet_hashtables.c sock_gen_put() -> reqsk_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| 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 sock_pfree() -> reqsk_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &commonring->lock | ||
| HALF_LOCKED2 | &dlc->lock | ||
| HALF_LOCKED2 | &fq->q.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 |