Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/sctp/socket.c sctp_setsockopt_active_key() -> sctp_auth_set_active_key()

Type Parameter Key Value
PARAM_VALUE 1 asoc 4096-ptr_max
DATA_SOURCE 1 asoc r sctp_id2assoc
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 key_id 0-u16max[u]
LOCK2 sk

net/sctp/socket.c sctp_setsockopt_active_key() -> sctp_auth_set_active_key()

Type Parameter Key Value
PARAM_VALUE 1 asoc 0
DATA_SOURCE 1 asoc r sctp_id2assoc
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 key_id 0-u16max[u]
LOCK2 sk

net/sctp/socket.c sctp_setsockopt_active_key() -> sctp_auth_set_active_key()

Type Parameter Key Value
PARAM_VALUE 1 asoc 4096-ptr_max
PARAM_VALUE 1 asoc->asoc_shared_key->len 0-3999992
PARAM_VALUE 1 asoc->asoc_shared_key->refcnt.refs.counter 1
PARAM_VALUE 1 asoc->shkey->deactivated 0
PARAM_VALUE 1 asoc->shkey->key 0,4096-ptr_max
CAPPED_DATA 0 &ep->asocs 1
CAPPED_DATA 1 &asoc->asocs 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 key_id 0-u16max
LOCK2 sk