Defined in 2 files as a function:

Referenced in 5 files:

Smatch caller information:

net/sctp/socket.c sctp_connect_new_asoc() -> inet_port_requires_bind_service()

Type Parameter Key Value
PARAM_VALUE 1 port 1-u16max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
LOCK2 sk

net/sctp/socket.c sctp_do_bind() -> inet_port_requires_bind_service()

Type Parameter Key Value
PARAM_VALUE 1 port 1-u16max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 port 1-u16max[u]
UNITS 0 net unit_byte
HALF_LOCKED2 sk

net/ipv4/af_inet.c __inet_bind() -> inet_port_requires_bind_service()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 1 port 1-u16max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 port 1-u16max
UNITS 0 net unit_byte

net/netfilter/ipvs/ip_vs_ctl.c ip_vs_service_find() -> inet_port_requires_bind_service()

Type Parameter Key Value
PARAM_VALUE 1 port 0-19,21-u16max
DATA_SOURCE 1 port $5
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 port 0-19,21-u16max
HALF_LOCKED2 rcu_read

net/ipv6/af_inet6.c __inet6_bind() -> inet_port_requires_bind_service()

Type Parameter Key Value
PARAM_VALUE 1 port 1-u16max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 port 1-u16max
UNITS 0 net unit_byte

security/selinux/hooks.c __selinux_socket_bind() -> inet_port_requires_bind_service()

Type Parameter Key Value
PARAM_VALUE 1 port 1-u16max
USER_DATA 1 port 1-u16max