Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/sctp/bind_addr.c sctp_bind_addr_conflict() -> (struct sctp_pf)->cmp_addr()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 1 addr2->v4.sin_port 1-u16max
PARAM_VALUE 2 opt 4096-ptr_max
PARAM_VALUE 2 opt->pf 4096-ptr_max
BUF_SIZE 1 addr2 (-1)-s32max
BUF_SIZE 1 addr2 (-1)-s32max
DATA_SOURCE 1 addr2 $1
CONTAINER 2 -24-1736+0 $(-1)
NOSPEC 1 addr2->v6.sin6_scope_id
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 addr2->sa.sa_family 2,10[c]
USER_DATA 1 addr2->v4.sin_addr.s_addr 0-u32max[u]
USER_DATA 1 addr2->v4.sin_family 0-u16max[u]
USER_DATA 1 addr2->v4.sin_port 1-u16max[c]
USER_DATA 1 addr2->v6.sin6_family 0-u16max[u]
USER_DATA 1 addr2->v6.sin6_flowinfo 0-u32max[u]
USER_DATA 1 addr2->v6.sin6_port 0-u16max[u]
USER_DATA 1 addr2->v6.sin6_scope_id 0-u32max[u]
USER_PTR 1 addr2
LOCK2 &head->lock
LOCK2 bh
LOCK2 rcu_read
HALF_LOCKED2 sk
TYPE_LOCK (struct sctp_bind_hashbucket)->lock

net/sctp/bind_addr.c sctp_bind_addr_match() -> (struct sctp_pf)->cmp_addr()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 opt 4096-ptr_max
PARAM_VALUE 2 opt->pf 4096-ptr_max
PARAM_VALUE 2 opt->pf->af 4096-ptr_max
BUF_SIZE 1 addr2 (-1)-s32max
BUF_SIZE 1 addr2 (-1)-s32max
DATA_SOURCE 1 addr2 $1
DATA_SOURCE 2 opt $2
CONTAINER 2 -24-1736+0 $(-1)
NOSPEC 1 addr2->v6.sin6_scope_id
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 addr2->sa.sa_family 0-u16max
USER_DATA 1 addr2->v4.sin_addr.s_addr 0-u32max[u]
USER_DATA 1 addr2->v4.sin_family 0-u16max[u]
USER_DATA 1 addr2->v4.sin_port 0-u16max
USER_DATA 1 addr2->v6.sin6_family 0-u16max[u]
USER_DATA 1 addr2->v6.sin6_flowinfo 0-u32max[u]
USER_DATA 1 addr2->v6.sin6_port 0-u16max
USER_DATA 1 addr2->v6.sin6_scope_id 0-u32max[u]
USER_PTR 1 addr2
LOCK2 rcu_read
HALF_LOCKED2 &head->lock

net/sctp/bind_addr.c sctp_find_unmatch_addr() -> (struct sctp_pf)->cmp_addr()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 1 addr2->v4.sin_family 2,10
PARAM_VALUE 2 opt 4096-ptr_max
PARAM_VALUE 2 opt->ep 4096-ptr_max
PARAM_VALUE 2 opt->ep->asconf_enable 1
PARAM_VALUE 2 opt->pf 4096-ptr_max
BUF_SIZE 1 addr2 (-1)-135168
BUF_SIZE 1 addr2 (-1)-135168
DATA_SOURCE 2 opt $3
CONTAINER 2 -24-1736+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 addr2->sa.sa_family 0-u16max[u]
USER_DATA 1 addr2->v4.sin_addr.s_addr 0-u32max[u]
USER_DATA 1 addr2->v4.sin_family 2,10[u]
USER_DATA 1 addr2->v4.sin_port 0-u16max[u]
USER_DATA 1 addr2->v6.sin6_family 0-u16max[u]
USER_DATA 1 addr2->v6.sin6_flowinfo 0-u32max[u]
USER_DATA 1 addr2->v6.sin6_port 0-u16max[u]
USER_DATA 1 addr2->v6.sin6_scope_id 0-u32max[u]
USER_PTR 1 addr2
HALF_LOCKED2 &net->sctp.addr_wq_lock
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 bh
HALF_LOCKED2 sk