Defined in 1 files as a function:
Referenced in 10 files:
- drivers/net/ppp/pptp.c, line 144
- drivers/net/wireguard/socket.c, line 52
- include/net/route.h
- net/ipv4/icmp.c
- net/ipv4/inet_connection_sock.c
- net/ipv4/ip_output.c, line 1643
- net/ipv4/ping.c, line 782
- net/ipv4/raw.c, line 635
- net/ipv4/syncookies.c, line 467
- net/ipv4/udp.c, line 1410
Smatch caller information:
net/ipv4/tcp_ipv4.c ip_route_connect() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 4096-ptr_max |
| BUF_SIZE | 0 | fl4 | 56 |
| DATA_SOURCE | 0 | fl4 | $0 |
| NOSPEC | 0 | fl4->saddr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fl4->saddr | 0-u32max |
| USER_DATA | 0 | fl4->uli.ports.dport | 0-u16max[u] |
| HALF_LOCKED2 | sk |
net/ipv4/tcp_ipv4.c ip_route_newports() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 4096-ptr_max |
| BUF_SIZE | 0 | fl4 | 56 |
| DATA_SOURCE | 0 | fl4 | $0 |
| NOSPEC | 0 | fl4->saddr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fl4->saddr | 0-u32max |
| USER_DATA | 0 | fl4->uli.ports.dport | 0-u16max[u] |
| HALF_LOCKED2 | sk |
drivers/scsi/cxgbi/libcxgbi.c ip_route_output_ports() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 2355920336546361344 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_dscp | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_flags | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_iif | 1 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_l3mdev | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_mark | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_multipath_hash | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_proto | 6 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_scope | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_secid | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_tun_key.tun_id | 0 |
| DATA_SOURCE | 0 | fl4 | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fl4->uli.ports.dport | 0-u16max[u] |
| LOCK2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/ipv4/ping.c ping_v4_sendmsg() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 5178491909977321472 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_dscp | 0,4-252 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_flags | 0-1 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_iif | 1 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_l3mdev | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_multipath_hash | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_scope | 0,253 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_secid | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_tun_key.tun_id | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fl4->__fl_common.flowic_dscp | 0,4-252[c] |
| USER_DATA | 0 | fl4->__fl_common.flowic_oif | s32min-(-1),1-s32max |
| USER_DATA | 0 | fl4->daddr | 0-u32max |
| HALF_LOCKED2 | &vq->mutex |
net/ipv4/syncookies.c cookie_v4_check() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 4126657174285819904 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_dscp | 0,4-252 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_flags | 0-1 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_iif | 1 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_l3mdev | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_multipath_hash | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_proto | 6 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_scope | 0,253 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_secid | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_tun_key.tun_id | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |
net/ipv6/ip6_tunnel.c ip_route_output_ports() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 8645566111782752256 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_dscp | 0,4-252 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_flags | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_iif | 1 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_l3mdev | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_mark | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_multipath_hash | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_proto | 4 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_scope | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_secid | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_tun_key.tun_id | 0 |
| DATA_SOURCE | 0 | fl4 | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/ipv4/raw.c raw_sendmsg() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 8356988452214730752 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_dscp | 0,4-252 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_iif | 1 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_l3mdev | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_multipath_hash | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_scope | 0,253 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_secid | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_tun_key.tun_id | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fl4->__fl_common.flowic_dscp | 0,4-252[c] |
| USER_DATA | 0 | fl4->__fl_common.flowic_oif | s32min-(-1),1-s32max[c] |
| USER_DATA | 0 | fl4->daddr | 0-u32max |
| HALF_LOCKED2 | &vq->mutex |
drivers/net/amt.c ip_route_output_ports() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 1709133684181274624,4189239834067365888,9210165002957201408 |
| DATA_SOURCE | 0 | fl4 | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
drivers/net/ppp/pptp.c pptp_route_output() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 6059578203634450432,9020409048918073344 |
| DATA_SOURCE | 0 | fl4 | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | sk |
drivers/net/wireguard/socket.c send4() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 1344848941582258176 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_dscp | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_flags | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_iif | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_l3mdev | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_multipath_hash | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_proto | 17 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_scope | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_secid | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_tun_key.tun_id | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_uid.val | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &peer->endpoint_lock | ||
| HALF_LOCKED2 | bh |
net/rxrpc/peer_object.c ip_route_output_ports() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 4096-ptr_max |
| BUF_SIZE | 0 | fl4 | 56 |
| DATA_SOURCE | 0 | fl4 | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fl4->daddr | 0-u32max[u] |
net/l2tp/l2tp_ip.c inet_sk_init_flowi4() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 4096-ptr_max |
| BUF_SIZE | 0 | fl4 | 56 |
| DATA_SOURCE | 0 | fl4 | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vq->mutex | ||
| HALF_LOCKED2 | sk |
net/ipv6/sit.c ip_route_output_ports() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 3362579694913437696 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_dscp | 0,4-252 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_flags | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_iif | 1 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_l3mdev | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_multipath_hash | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_proto | 41 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_scope | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_secid | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_tun_key.tun_id | 0 |
| DATA_SOURCE | 0 | fl4 | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/ipv4/igmp.c ip_route_output_ports() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 4185366938630184960,7317555420536573952 |
| DATA_SOURCE | 0 | fl4 | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/ipv4/datagram.c inet_sk_init_flowi4() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 5150002417512837120 |
| DATA_SOURCE | 0 | fl4 | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | bh |
net/ipv4/datagram.c ip_route_connect() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 4096-ptr_max |
| BUF_SIZE | 0 | fl4 | 56 |
| DATA_SOURCE | 0 | fl4 | $0 |
| NOSPEC | 0 | fl4->saddr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fl4->daddr | 0-u32max[u] |
| USER_DATA | 0 | fl4->saddr | 0-u32max |
| USER_DATA | 0 | fl4->uli.ports.dport | 0-u16max[u] |
| LOCK2 | sk |
net/ipv4/inet_connection_sock.c inet_csk_route_child_sock() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 4096-ptr_max |
| BUF_SIZE | 0 | fl4 | 56 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | sk |
net/ipv4/inet_connection_sock.c inet_csk_route_req() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 4096-ptr_max |
| DATA_SOURCE | 0 | fl4 | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |
net/ipv4/inet_connection_sock.c inet_sk_init_flowi4() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 4096-ptr_max |
| BUF_SIZE | 0 | fl4 | 56 |
| DATA_SOURCE | 0 | fl4 | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sk->sk_lock.slock |
net/ipv4/udp.c udp_sendmsg() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 1713480840015835136 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_dscp | 0,4-252 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_flags | 0-1 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_iif | 1 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_l3mdev | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_multipath_hash | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_proto | 17 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_scope | 0,253 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_secid | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_tun_key.tun_id | 0 |
| BUF_SIZE | 0 | fl4 | 56 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fl4->__fl_common.flowic_dscp | 0,4-252[c] |
| USER_DATA | 0 | fl4->__fl_common.flowic_oif | s32min-(-1),1-s32max[c] |
| USER_DATA | 0 | fl4->daddr | 0-u32max |
| USER_DATA | 0 | fl4->uli.ports.dport | 1-u16max[u] |
net/ipv4/af_inet.c inet_sk_init_flowi4() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 4096-ptr_max |
| BUF_SIZE | 0 | fl4 | 56 |
| DATA_SOURCE | 0 | fl4 | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/ipv4/af_inet.c ip_route_connect() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 4096-ptr_max |
| BUF_SIZE | 0 | fl4 | 56 |
| DATA_SOURCE | 0 | fl4 | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | sk |
net/ipv4/icmp.c icmp_reply() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 1310788033161670656 |
| MEM_ZERO | 0 | fl4 | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/ipv4/icmp.c icmp_route_lookup() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 8544932557906923520 |
| DATA_SOURCE | 0 | fl4 | $1 |
| MEM_ZERO | 0 | fl4 | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &x->lock | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c ip_route_output_ports() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 1276790311347195904 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_dscp | 0,4-252 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_flags | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_iif | 1 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_l3mdev | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_mark | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_multipath_hash | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_proto | 6 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_scope | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_secid | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_tun_key.tun_id | 0 |
| DATA_SOURCE | 0 | fl4 | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fl4->__fl_common.flowic_dscp | 0,4-252[c] |
| USER_DATA | 0 | fl4->daddr | 0-u32max[u] |
| USER_DATA | 0 | fl4->saddr | 0-u32max[u] |
| USER_DATA | 0 | fl4->uli.ports.dport | 0-u16max[u] |
| USER_DATA | 0 | fl4->uli.ports.sport | 0-u16max[u] |
| HALF_LOCKED2 | &pool->lock |
net/ipv4/ipmr.c ip_route_output_ports() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 675632088021872640 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_dscp | 0,4-252 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_flags | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_iif | 1 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_l3mdev | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_mark | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_multipath_hash | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_proto | 4 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_scope | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_secid | 0 |
| PARAM_VALUE | 0 | fl4->__fl_common.flowic_tun_key.tun_id | 0 |
| DATA_SOURCE | 0 | fl4 | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->ipv4.mfc_mutex | ||
| HALF_LOCKED2 | &net->ipv6.mfc_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/ipv4/ip_output.c inet_sk_init_flowi4() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 4096-ptr_max |
| BUF_SIZE | 0 | fl4 | 56 |
| DATA_SOURCE | 0 | fl4 | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/ipv4/ip_output.c ip_send_unicast_reply() -> flowi4_to_flowi_common()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fl4 | 7029372175004622848 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &orig_sk->sk_lock.slock | ||
| HALF_LOCKED2 | orig_sk | ||
| HALF_LOCKED2 | rcu_read |