Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 15 files:

Smatch caller information:

net/l2tp/l2tp_core.c l2tp_tunnel_register() -> setup_udp_tunnel_sock()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 1 sk 4096-ptr_max
PARAM_VALUE 1 sk->__sk_common.skc_family 2,10
PARAM_VALUE 1 sk->sk_callback_lock.dep_map->name 0-255
PARAM_VALUE 1 sk->sk_callback_lock.owner (-1)
PARAM_VALUE 1 sk->sk_callback_lock.owner_cpu u32max
PARAM_VALUE 1 sk->sk_callback_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 1 sk->sk_lock.owned 1
PARAM_VALUE 1 sk->sk_lock.slock.rlock.dep_map->name 0-255
PARAM_VALUE 1 sk->sk_lock.wq.head.prev 4096-ptr_max
PARAM_VALUE 1 sk->sk_lock.wq.head.prev->next 4096-ptr_max
PARAM_VALUE 1 sk->sk_lock.wq.head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 sk->sk_protocol 17,115
PARAM_VALUE 1 sk->sk_type 2
PARAM_VALUE 2 cfg 556589418262708224
PARAM_VALUE 2 cfg->encap_destroy 785702168982814720
PARAM_VALUE 2 cfg->encap_err_lookup 0
PARAM_VALUE 2 cfg->encap_err_rcv 1497060654284513280
PARAM_VALUE 2 cfg->encap_rcv 4668653707496243200
PARAM_VALUE 2 cfg->encap_type 3
PARAM_VALUE 2 cfg->gro_complete 0
PARAM_VALUE 2 cfg->gro_receive 0
PARAM_VALUE 2 cfg->sk_user_data 0
CAPPED_DATA 0 net 1
CAPPED_DATA 0 net->gen 1
DATA_SOURCE 0 net $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 net unit_byte
UNITS 1 sk unit_byte
LOCK2 sk

drivers/net/geneve.c geneve_socket_create() -> setup_udp_tunnel_sock()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 1 sk 0-ptr_max
PARAM_VALUE 2 cfg 7514820725703778304
PARAM_VALUE 2 cfg->encap_destroy 0
PARAM_VALUE 2 cfg->encap_err_lookup 5381463197001216000
PARAM_VALUE 2 cfg->encap_rcv 5420393957975932928
PARAM_VALUE 2 cfg->encap_type 1
PARAM_VALUE 2 cfg->gro_complete 1410582323124445184
PARAM_VALUE 2 cfg->gro_receive 3949099491033800704
PARAM_VALUE 2 cfg->sk_user_data 4096-ptr_max
CAPPED_DATA 0 net->gen 1
DATA_SOURCE 0 net $0
DATA_SOURCE 1 sk r geneve_create_sock
MEM_ZERO 2 cfg
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 net unit_byte
LOCK2 &gn->lock
TYPE_LOCK (struct geneve_net)->lock

drivers/net/gtp.c gtp_create_sock() -> setup_udp_tunnel_sock()

Type Parameter Key Value
PARAM_VALUE 2 cfg 5364382180352393216
PARAM_VALUE 2 cfg->encap_destroy 0
PARAM_VALUE 2 cfg->encap_err_lookup 0
PARAM_VALUE 2 cfg->encap_err_rcv 0
PARAM_VALUE 2 cfg->encap_rcv 1109101868466024448
PARAM_VALUE 2 cfg->encap_type 4-5
PARAM_VALUE 2 cfg->gro_complete 0
PARAM_VALUE 2 cfg->gro_receive 0
PARAM_VALUE 2 cfg->sk_user_data 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sk unit_byte
LOCK2 global &rtnl_mutex
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/gtp.c gtp_encap_enable_socket() -> setup_udp_tunnel_sock()

Type Parameter Key Value
PARAM_VALUE 1 sk 4096-ptr_max
PARAM_VALUE 1 sk->__sk_common.skc_family 2,10
PARAM_VALUE 1 sk->sk_lock.owned 1
PARAM_VALUE 1 sk->sk_lock.slock.rlock.dep_map->name 0-255
PARAM_VALUE 1 sk->sk_lock.wq.head.prev 4096-ptr_max
PARAM_VALUE 1 sk->sk_lock.wq.head.prev->next 4096-ptr_max
PARAM_VALUE 1 sk->sk_lock.wq.head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 sk->sk_protocol 17
PARAM_VALUE 1 sk->sk_type 2
PARAM_VALUE 1 sk->sk_user_data 0
PARAM_VALUE 2 cfg 4069577900563791872
PARAM_VALUE 2 cfg->encap_destroy 5744118115999563776
PARAM_VALUE 2 cfg->encap_err_lookup 0
PARAM_VALUE 2 cfg->encap_err_rcv 0
PARAM_VALUE 2 cfg->encap_rcv 1109101868466024448
PARAM_VALUE 2 cfg->encap_type 4-5
PARAM_VALUE 2 cfg->gro_complete 0
PARAM_VALUE 2 cfg->gro_receive 0
PARAM_VALUE 2 cfg->sk_user_data 4096-ptr_max
BIT_INFO 1 sk->__sk_common.skc_family 0x2,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sk unit_byte
LOCK2 global &rtnl_mutex
LOCK2 1 sk
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 amt_socket_create() -> setup_udp_tunnel_sock()

Type Parameter Key Value
PARAM_VALUE 1 sk 0-ptr_max
PARAM_VALUE 2 cfg 8511973803369340928
PARAM_VALUE 2 cfg->encap_destroy 0
PARAM_VALUE 2 cfg->encap_err_lookup 4758923600001572864
PARAM_VALUE 2 cfg->encap_rcv 2760821848315719680
PARAM_VALUE 2 cfg->encap_type 1
PARAM_VALUE 2 cfg->sk_user_data 4096-ptr_max
DATA_SOURCE 1 sk r amt_create_sock
MEM_ZERO 2 cfg
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &rtnl_mutex

drivers/net/bareudp.c bareudp_socket_create() -> setup_udp_tunnel_sock()

Type Parameter Key Value
PARAM_VALUE 1 sk 0-ptr_max
PARAM_VALUE 2 cfg 3004954423934128128
PARAM_VALUE 2 cfg->encap_destroy 0
PARAM_VALUE 2 cfg->encap_err_lookup 3309790476250308608
PARAM_VALUE 2 cfg->encap_rcv 69259820088860672
PARAM_VALUE 2 cfg->encap_type 1
PARAM_VALUE 2 cfg->sk_user_data 4096-ptr_max
DATA_SOURCE 1 sk r bareudp_create_sock
MEM_ZERO 2 cfg
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &rtnl_mutex

drivers/net/wireguard/socket.c wg_socket_init() -> setup_udp_tunnel_sock()

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 sk 4096-ptr_max
PARAM_VALUE 1 sk->sk_allocation 0,131072-u32max
PARAM_VALUE 1 sk->sk_sndbuf s32max
PARAM_VALUE 1 sk->sk_socket 4096-ptr_max
PARAM_VALUE 1 sk->sk_user_data 0
PARAM_VALUE 2 cfg 5410621857433915392
PARAM_VALUE 2 cfg->encap_destroy 0
PARAM_VALUE 2 cfg->encap_err_lookup 0
PARAM_VALUE 2 cfg->encap_err_rcv 0
PARAM_VALUE 2 cfg->encap_rcv 4486533811512426496
PARAM_VALUE 2 cfg->encap_type 1
PARAM_VALUE 2 cfg->gro_complete 0
PARAM_VALUE 2 cfg->gro_receive 0
PARAM_VALUE 2 cfg->sk_user_data 4096-ptr_max
PARAM_COMPARE 0 net == $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sk unit_byte
LOCK2 &wg->device_update_lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct wg_device)->device_update_lock

drivers/net/wireguard/socket.c wg_socket_init() -> setup_udp_tunnel_sock()

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 sk 4096-ptr_max
PARAM_VALUE 1 sk->sk_allocation 0,131072-u32max
PARAM_VALUE 1 sk->sk_sndbuf s32max
PARAM_VALUE 2 cfg 5410621857433915392
PARAM_VALUE 2 cfg->encap_destroy 0
PARAM_VALUE 2 cfg->encap_err_lookup 0
PARAM_VALUE 2 cfg->encap_err_rcv 0
PARAM_VALUE 2 cfg->encap_rcv 4486533811512426496
PARAM_VALUE 2 cfg->encap_type 1
PARAM_VALUE 2 cfg->gro_complete 0
PARAM_VALUE 2 cfg->gro_receive 0
PARAM_VALUE 2 cfg->sk_user_data 4096-ptr_max
PARAM_COMPARE 0 net == $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sk unit_byte
LOCK2 &wg->device_update_lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct wg_device)->device_update_lock

net/ipv4/fou_core.c fou_create() -> setup_udp_tunnel_sock()

Type Parameter Key Value
PARAM_VALUE 2 cfg 8935894221284790272
PARAM_VALUE 2 cfg->encap_destroy 0
PARAM_VALUE 2 cfg->encap_rcv 460809160196489216,4765262922646818816
PARAM_VALUE 2 cfg->encap_type 1
PARAM_VALUE 2 cfg->gro_complete 868154144442212352,5325576480489549824
PARAM_VALUE 2 cfg->gro_receive 3761661109481058304,4516847729940582400
PARAM_VALUE 2 cfg->sk_user_data 4096-ptr_max
DATA_SOURCE 0 net $0
MEM_ZERO 2 cfg
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 net unit_byte
UNITS 1 sk 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 tipc_udp_enable() -> setup_udp_tunnel_sock()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 2 cfg 5680255585600589824
PARAM_VALUE 2 cfg->encap_destroy 0
PARAM_VALUE 2 cfg->encap_err_lookup 0
PARAM_VALUE 2 cfg->encap_err_rcv 0
PARAM_VALUE 2 cfg->encap_rcv 1271983760759947264
PARAM_VALUE 2 cfg->encap_type 1
PARAM_VALUE 2 cfg->gro_complete 0
PARAM_VALUE 2 cfg->gro_receive 0
PARAM_VALUE 2 cfg->sk_user_data 4096-ptr_max
CAPPED_DATA 0 net->gen 1
DATA_SOURCE 0 net $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sk unit_byte
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 sctp_udp_sock_start() -> setup_udp_tunnel_sock()

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 2 cfg 2740678225501806592
PARAM_VALUE 2 cfg->encap_destroy 0
PARAM_VALUE 2 cfg->encap_err_lookup 4564183160752791552
PARAM_VALUE 2 cfg->encap_err_rcv 0
PARAM_VALUE 2 cfg->encap_rcv 1763837607137923072
PARAM_VALUE 2 cfg->encap_type 1
PARAM_VALUE 2 cfg->gro_complete 0
PARAM_VALUE 2 cfg->gro_receive 0
PARAM_VALUE 2 cfg->sk_user_data 0
CAPPED_DATA 0 net->sctp.udp_port 1
DATA_SOURCE 0 net $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sk unit_byte
LOCK2 global &sctp_sysctl_mutex
HALF_LOCKED2 &pool->lock

net/sctp/protocol.c sctp_udp_sock_start() -> setup_udp_tunnel_sock()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->sctp.udp4_sock 4096-ptr_max
PARAM_VALUE 0 net->sctp.udp4_sock->sk_user_data 0,4096-ptr_max
PARAM_VALUE 0 net->sctp.udp6_sock 0
PARAM_VALUE 0 net->sctp.udp_port s32min-(-1),1-s32max
PARAM_VALUE 1 sk 4096-ptr_max
PARAM_VALUE 1 sk->sk_user_data 0,4096-ptr_max
PARAM_VALUE 2 cfg 2740678225501806592
PARAM_VALUE 2 cfg->encap_destroy 0
PARAM_VALUE 2 cfg->encap_err_lookup 5260394337577623552
PARAM_VALUE 2 cfg->encap_err_rcv 0
PARAM_VALUE 2 cfg->encap_rcv 1763837607137923072
PARAM_VALUE 2 cfg->encap_type 1
PARAM_VALUE 2 cfg->gro_complete 0
PARAM_VALUE 2 cfg->gro_receive 0
PARAM_VALUE 2 cfg->sk_user_data 0
CAPPED_DATA 0 net->sctp.udp_port 1
DATA_SOURCE 0 net $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sk unit_byte
LOCK2 global &sctp_sysctl_mutex
HALF_LOCKED2 &pool->lock

drivers/infiniband/sw/rxe/rxe_net.c rxe_setup_udp_tunnel() -> setup_udp_tunnel_sock()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 1 sk 4096-ptr_max
PARAM_VALUE 1 sk->sk_lock.owned 0-1
PARAM_VALUE 2 cfg 91576708047101952
PARAM_VALUE 2 cfg->encap_destroy 0
PARAM_VALUE 2 cfg->encap_err_lookup 0
PARAM_VALUE 2 cfg->encap_err_rcv 0
PARAM_VALUE 2 cfg->encap_rcv 6637131946574319616
PARAM_VALUE 2 cfg->encap_type 1
PARAM_VALUE 2 cfg->gro_complete 0
PARAM_VALUE 2 cfg->gro_receive 0
PARAM_VALUE 2 cfg->sk_user_data 0
CAPPED_DATA 0 net->gen 1
DATA_SOURCE 0 net $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 net unit_byte
UNITS 1 sk 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/ovpn/udp.c ovpn_udp_socket_attach() -> setup_udp_tunnel_sock()

Type Parameter Key Value
PARAM_VALUE 1 sk 4096-ptr_max
PARAM_VALUE 1 sk->sk_lock.owned 1
PARAM_VALUE 1 sk->sk_lock.slock.rlock.dep_map->name 0-255
PARAM_VALUE 1 sk->sk_lock.wq.head.prev 4096-ptr_max
PARAM_VALUE 1 sk->sk_lock.wq.head.prev->next 4096-ptr_max
PARAM_VALUE 1 sk->sk_lock.wq.head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 sk->sk_protocol 17
PARAM_VALUE 2 cfg 4041422014497280000
PARAM_VALUE 2 cfg->encap_destroy 7864414025072648192
PARAM_VALUE 2 cfg->encap_err_lookup 0
PARAM_VALUE 2 cfg->encap_err_rcv 0
PARAM_VALUE 2 cfg->encap_rcv 8607222543008333824
PARAM_VALUE 2 cfg->encap_type 8
PARAM_VALUE 2 cfg->gro_complete 0
PARAM_VALUE 2 cfg->gro_receive 0
PARAM_VALUE 2 cfg->sk_user_data 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sk unit_byte
LOCK2 sk
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

drivers/net/pfcp.c pfcp_create_sock() -> setup_udp_tunnel_sock()

Type Parameter Key Value
PARAM_VALUE 2 cfg 7382148435926126592
PARAM_VALUE 2 cfg->encap_destroy 0
PARAM_VALUE 2 cfg->encap_err_lookup 0
PARAM_VALUE 2 cfg->encap_err_rcv 0
PARAM_VALUE 2 cfg->encap_rcv 5779397207479468032
PARAM_VALUE 2 cfg->encap_type 1
PARAM_VALUE 2 cfg->gro_complete 0
PARAM_VALUE 2 cfg->gro_receive 0
PARAM_VALUE 2 cfg->sk_user_data 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sk unit_byte
LOCK2 global &rtnl_mutex
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 vxlan_socket_create() -> setup_udp_tunnel_sock()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 1 sk 4096-ptr_max
PARAM_VALUE 1 sk->__sk_common.skc_net.net 4096-ptr_max
PARAM_VALUE 2 cfg 8865280197555273728
PARAM_VALUE 2 cfg->encap_destroy 0
PARAM_VALUE 2 cfg->encap_err_lookup 6990347006849347584
PARAM_VALUE 2 cfg->encap_rcv 7491618171876331520
PARAM_VALUE 2 cfg->encap_type 1
PARAM_VALUE 2 cfg->gro_complete 3425798901383704576,4649172878003060736
PARAM_VALUE 2 cfg->gro_receive 360031568494383104,2371109313039147008
PARAM_VALUE 2 cfg->sk_user_data 4096-ptr_max
CAPPED_DATA 0 net->gen 1
CAPPED_DATA 1 sk->__sk_common.skc_net.net 1
DATA_SOURCE 0 net $0
DATA_SOURCE 1 sk r vxlan_create_sock
MEM_ZERO 2 cfg
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 net unit_byte

net/rxrpc/local_object.c rxrpc_open_socket() -> setup_udp_tunnel_sock()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 2 cfg 1248533372220710912
PARAM_VALUE 2 cfg->encap_destroy 0
PARAM_VALUE 2 cfg->encap_err_lookup 0
PARAM_VALUE 2 cfg->encap_err_rcv 8473591204666970112
PARAM_VALUE 2 cfg->encap_rcv 718307685784289280
PARAM_VALUE 2 cfg->encap_type 6
PARAM_VALUE 2 cfg->gro_complete 0
PARAM_VALUE 2 cfg->gro_receive 0
PARAM_VALUE 2 cfg->sk_user_data 4096-ptr_max
CAPPED_DATA 0 net->gen 1
DATA_SOURCE 0 net $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sk unit_byte
LOCK2 &rx->sk
LOCK2 &rxnet->local_mutex
TYPE_LOCK (struct rxrpc_net)->local_mutex
TYPE_LOCK (struct rxrpc_sock)->sk