Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/l2tp/l2tp_core.c udp_sock_create() -> udp_sock_create4()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 1 cfg 9084295010328195072
PARAM_VALUE 1 cfg->family 2
PARAM_VALUE 2 sockp 2266976180999020544
PARAM_VALUE 2 *sockp 0
CAPPED_DATA 0 net->gen 1
DATA_SOURCE 0 net $0
DATA_SOURCE 1 cfg $1
DATA_SOURCE 2 sockp $2
MEM_ZERO 1 cfg
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte

drivers/net/geneve.c udp_sock_create() -> udp_sock_create4()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 1 cfg 6413011030207160320
PARAM_VALUE 1 cfg->family 2
PARAM_VALUE 2 sockp 2904498087440568320
CAPPED_DATA 0 net->gen 1
DATA_SOURCE 0 net $0
DATA_SOURCE 1 cfg $1
DATA_SOURCE 2 sockp $2
MEM_ZERO 1 cfg

drivers/net/gtp.c udp_sock_create() -> udp_sock_create4()

Type Parameter Key Value
PARAM_VALUE 1 cfg 757646588802867200
PARAM_VALUE 1 cfg->bind_ifindex 0
PARAM_VALUE 1 cfg->family 2
PARAM_VALUE 1 cfg->ipv6_v6only 0
PARAM_VALUE 1 cfg->local_udp_port 2152,3386
PARAM_VALUE 1 cfg->peer_udp_port 0
PARAM_VALUE 1 cfg->use_udp6_rx_checksums 0
PARAM_VALUE 1 cfg->use_udp6_tx_checksums 0
PARAM_VALUE 1 cfg->use_udp_checksums 0
PARAM_VALUE 2 sockp 8140817850324221952
DATA_SOURCE 0 net $0
DATA_SOURCE 1 cfg $1
DATA_SOURCE 2 sockp $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &dev->ethtool->rss_lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &ops->srcu
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rx_queue_mutex

drivers/net/amt.c udp_sock_create() -> udp_sock_create4()

Type Parameter Key Value
PARAM_VALUE 1 cfg 6488532417169141760
PARAM_VALUE 1 cfg->family 2
PARAM_VALUE 2 sockp 8340087457405390848
DATA_SOURCE 0 net $0
DATA_SOURCE 1 cfg $1
DATA_SOURCE 2 sockp $2
MEM_ZERO 1 cfg
RX_PATH
TASK_NOT_RUNNING

drivers/net/bareudp.c udp_sock_create() -> udp_sock_create4()

Type Parameter Key Value
PARAM_VALUE 1 cfg 9142658892347449344
PARAM_VALUE 1 cfg->family 2
PARAM_VALUE 2 sockp 8245740683776831488
DATA_SOURCE 0 net $0
DATA_SOURCE 1 cfg $1
DATA_SOURCE 2 sockp $2
MEM_ZERO 1 cfg
RX_PATH
TASK_NOT_RUNNING

drivers/net/wireguard/socket.c udp_sock_create() -> udp_sock_create4()

Type Parameter Key Value
PARAM_VALUE 0 net 1-u64max
PARAM_VALUE 0 net->ns.__ns_ref.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 cfg 2125819061784502272
PARAM_VALUE 1 cfg->bind_ifindex 0
PARAM_VALUE 1 cfg->family 2
PARAM_VALUE 1 cfg->ipv6_v6only 0
PARAM_VALUE 1 cfg->peer_udp_port 0
PARAM_VALUE 1 cfg->use_udp6_rx_checksums 0
PARAM_VALUE 1 cfg->use_udp6_tx_checksums 0
PARAM_VALUE 1 cfg->use_udp_checksums 1
PARAM_VALUE 2 sockp 7542749004740816896
PARAM_VALUE 2 *sockp 0,4096-ptr_max
DATA_SOURCE 0 net $0
DATA_SOURCE 1 cfg $1
DATA_SOURCE 2 sockp $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &wg->device_update_lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct wg_device)->device_update_lock

net/ipv4/fou_core.c udp_sock_create() -> udp_sock_create4()

Type Parameter Key Value
PARAM_VALUE 1 cfg 5508037476685697028
PARAM_VALUE 1 cfg->family 2
PARAM_VALUE 1 cfg->use_udp6_rx_checksums 0
PARAM_VALUE 1 cfg->use_udp6_tx_checksums 0
PARAM_VALUE 1 cfg->use_udp_checksums 0
PARAM_VALUE 2 sockp 8959452995764342784
PARAM_VALUE 2 *sockp 0
DATA_SOURCE 0 net $0
DATA_SOURCE 1 cfg $1
DATA_SOURCE 2 sockp $2
MEM_ZERO 1 cfg
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

net/tipc/udp_media.c udp_sock_create() -> udp_sock_create4()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 1 cfg 7644977427893301248
PARAM_VALUE 1 cfg->bind_ifindex 0
PARAM_VALUE 1 cfg->family 2
PARAM_VALUE 1 cfg->ipv6_v6only 0
PARAM_VALUE 1 cfg->peer_udp_port 0
PARAM_VALUE 1 cfg->use_udp_checksums 0
PARAM_VALUE 2 sockp 5221508487388262400
CAPPED_DATA 0 net->gen 1
DATA_SOURCE 0 net $0
DATA_SOURCE 1 cfg $1
DATA_SOURCE 2 sockp $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

net/sctp/protocol.c udp_sock_create() -> udp_sock_create4()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->sctp.udp4_sock 0
PARAM_VALUE 0 net->sctp.udp6_sock 0
PARAM_VALUE 0 net->sctp.udp_port s32min-(-1),1-s32max
PARAM_VALUE 1 cfg 7048871487867715584
PARAM_VALUE 1 cfg->bind_ifindex 0
PARAM_VALUE 1 cfg->family 2
PARAM_VALUE 1 cfg->ipv6_v6only 0
PARAM_VALUE 1 cfg->peer_udp_port 0
PARAM_VALUE 1 cfg->use_udp6_rx_checksums 0
PARAM_VALUE 1 cfg->use_udp6_tx_checksums 0
PARAM_VALUE 1 cfg->use_udp_checksums 0
PARAM_VALUE 2 sockp 8700813430897664000
PARAM_VALUE 2 *sockp 0,4096-ptr_max
CAPPED_DATA 0 net->sctp.udp_port 1
DATA_SOURCE 0 net $0
DATA_SOURCE 1 cfg $1
DATA_SOURCE 2 sockp $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sctp_sysctl_mutex
HALF_LOCKED2 &pool->lock

drivers/infiniband/sw/rxe/rxe_net.c udp_sock_create() -> udp_sock_create4()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 1 cfg 5533693499180118016
PARAM_VALUE 1 cfg->bind_ifindex 0
PARAM_VALUE 1 cfg->family 2
PARAM_VALUE 1 cfg->local_udp_port 4791
PARAM_VALUE 1 cfg->peer_udp_port 0
PARAM_VALUE 1 cfg->use_udp6_rx_checksums 0
PARAM_VALUE 1 cfg->use_udp6_tx_checksums 0
PARAM_VALUE 1 cfg->use_udp_checksums 0
PARAM_VALUE 2 sockp 4659222246073798656
CAPPED_DATA 0 net->gen 1
DATA_SOURCE 0 net $0
DATA_SOURCE 1 cfg $1
DATA_SOURCE 2 sockp $2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
LOCK2 global &link_ops_rwsem
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

drivers/net/pfcp.c udp_sock_create() -> udp_sock_create4()

Type Parameter Key Value
PARAM_VALUE 1 cfg 1230363352308117504
PARAM_VALUE 1 cfg->bind_ifindex 0
PARAM_VALUE 1 cfg->family 2
PARAM_VALUE 1 cfg->ipv6_v6only 0
PARAM_VALUE 1 cfg->local_udp_port 8805
PARAM_VALUE 1 cfg->peer_udp_port 0
PARAM_VALUE 1 cfg->use_udp6_rx_checksums 0
PARAM_VALUE 1 cfg->use_udp6_tx_checksums 0
PARAM_VALUE 1 cfg->use_udp_checksums 0
PARAM_VALUE 2 sockp 8253238634599485440
DATA_SOURCE 0 net $0
DATA_SOURCE 1 cfg $1
DATA_SOURCE 2 sockp $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &dev->ethtool->rss_lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &ops->srcu
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rx_queue_mutex

drivers/net/vxlan/vxlan_core.c udp_sock_create() -> udp_sock_create4()

Type Parameter Key Value
PARAM_VALUE 1 cfg 3108278856277499904
PARAM_VALUE 1 cfg->family 2
PARAM_VALUE 2 sockp 8488180850508709888
DATA_SOURCE 0 net $0
DATA_SOURCE 1 cfg $1
DATA_SOURCE 2 sockp $2
MEM_ZERO 1 cfg
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte

net/rxrpc/local_object.c udp_sock_create() -> udp_sock_create4()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 1 cfg 9038589857421615104
PARAM_VALUE 1 cfg->bind_ifindex 0
PARAM_VALUE 1 cfg->family 2
PARAM_VALUE 1 cfg->ipv6_v6only 0
PARAM_VALUE 1 cfg->peer_udp_port 0
PARAM_VALUE 1 cfg->use_udp_checksums 1
PARAM_VALUE 2 sockp 4096-ptr_max
CAPPED_DATA 0 net->gen 1
DATA_SOURCE 0 net $0
DATA_SOURCE 1 cfg $1
DATA_SOURCE 2 sockp $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &rx->sk
LOCK2 &rxnet->local_mutex
TYPE_LOCK (struct rxrpc_net)->local_mutex
TYPE_LOCK (struct rxrpc_sock)->sk