Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/ipv4/ping.c ping_check_bind_addr() -> inet_can_nonlocal_bind()

Type Parameter Key Value
DATA_SOURCE 1 inet $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte

net/ipv4/raw.c inet_addr_valid_or_nonlocal() -> inet_can_nonlocal_bind()

Type Parameter Key Value
DATA_SOURCE 0 net $0
DATA_SOURCE 1 inet $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
LOCK2 sk

net/ipv4/af_inet.c inet_addr_valid_or_nonlocal() -> inet_can_nonlocal_bind()

Type Parameter Key Value
DATA_SOURCE 0 net $0
DATA_SOURCE 1 inet $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte

net/ipv6/af_inet6.c inet_addr_valid_or_nonlocal() -> inet_can_nonlocal_bind()

Type Parameter Key Value
PARAM_VALUE 1 inet 4096-ptr_max
DATA_SOURCE 0 net $0
DATA_SOURCE 1 inet $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
HALF_LOCKED2 sk