Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
net/ipv6/datagram.c __ip6_datagram_connect() -> __ip4_datagram_connect()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_ipv6only | 0 |
| 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 |
| PARAM_VALUE | 1 | uaddr | 4096-ptr_max |
| PARAM_VALUE | 1 | uaddr->sin6_family | 2 |
| BUF_SIZE | 1 | uaddr | (-1)-s32max |
| BUF_SIZE | 1 | uaddr | (-1)-s32max |
| DATA_SOURCE | 0 | sk | $0 |
| DATA_SOURCE | 1 | uaddr | $1 |
| DATA_SOURCE | 2 | addr_len | $2 |
| STR_LEN | 1 | uaddr->sun_path | (-1),107 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | uaddr->sa_family | 1-u16max[u] |
| USER_DATA | 2 | addr_len | s32min-s32max |
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_backlog.len | |
| UNITS | 2 | addr_len | unit_byte |
| USER_PTR | 1 | uaddr | |
| LOCK2 | 0 | sk |
net/ipv6/datagram.c __ip6_datagram_connect() -> __ip4_datagram_connect()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_ipv6only | 0 |
| 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 |
| PARAM_VALUE | 1 | uaddr | 8090106578362707968 |
| PARAM_VALUE | 2 | addr_len | 16 |
| BUF_SIZE | 1 | uaddr | 16 |
| DATA_SOURCE | 0 | sk | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_backlog.len | |
| UNITS | 2 | addr_len | unit_byte |
| LOCK2 | 0 | sk |
net/l2tp/l2tp_ip.c l2tp_ip_connect() -> __ip4_datagram_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 |
| PARAM_VALUE | 1 | uaddr | 4096-ptr_max |
| PARAM_VALUE | 2 | addr_len | s32min-(-1),16-s32max |
| BUF_SIZE | 1 | uaddr | (-1)-s32max |
| BUF_SIZE | 1 | uaddr | (-1)-s32max |
| CAPPED_DATA | 0 | sk->__sk_common.skc_net.net | 1 |
| DATA_SOURCE | 0 | sk | $0 |
| DATA_SOURCE | 1 | uaddr | $1 |
| DATA_SOURCE | 2 | addr_len | $2 |
| STR_LEN | 1 | uaddr->sun_path | (-1),107 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | uaddr->sa_family | 1-u16max[u] |
| USER_DATA | 2 | addr_len | s32min-(-1),16-s32max |
| 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 | |
| UNITS | 2 | addr_len | unit_byte |
| USER_PTR | 1 | uaddr | |
| LOCK2 | 0 | sk |
net/ipv4/datagram.c ip4_datagram_connect() -> __ip4_datagram_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 |
| BUF_SIZE | 1 | uaddr | (-1)-s32max |
| BUF_SIZE | 1 | uaddr | (-1)-s32max |
| DATA_SOURCE | 0 | sk | $0 |
| DATA_SOURCE | 1 | uaddr | $1 |
| DATA_SOURCE | 2 | addr_len | $2 |
| STR_LEN | 1 | uaddr->sun_path | (-1),107 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | uaddr->sa_family | 1-u16max[u] |
| USER_DATA | 2 | addr_len | s32min-s32max |
| 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 | |
| USER_PTR | 1 | uaddr | |
| LOCK2 | 0 | sk |
net/ipv4/udp.c udp_connect() -> __ip4_datagram_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 |
| BUF_SIZE | 1 | uaddr | (-1)-s32max |
| BUF_SIZE | 1 | uaddr | (-1)-s32max |
| DATA_SOURCE | 0 | sk | $0 |
| DATA_SOURCE | 1 | uaddr | $1 |
| DATA_SOURCE | 2 | addr_len | $2 |
| STR_LEN | 1 | uaddr->sun_path | (-1),107 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | uaddr->sa_family | 1-u16max[u] |
| USER_DATA | 2 | addr_len | s32min-s32max |
| 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 | |
| USER_PTR | 1 | uaddr | |
| LOCK2 | 0 | sk |