Searched refs:cur_key (Results 1 – 1 of 1) sorted by relevance
821 struct sctp_shared_key *cur_key, *shkey; in sctp_auth_set_key() local846 cur_key = sctp_auth_shkey_create(auth_key->sca_keynumber, GFP_KERNEL); in sctp_auth_set_key()847 if (!cur_key) in sctp_auth_set_key()853 kfree(cur_key); in sctp_auth_set_key()858 cur_key->key = key; in sctp_auth_set_key()861 list_add(&cur_key->key_list, sh_keys); in sctp_auth_set_key()866 list_add(&cur_key->key_list, sh_keys); in sctp_auth_set_key()870 list_del_init(&cur_key->key_list); in sctp_auth_set_key()871 sctp_auth_shkey_release(cur_key); in sctp_auth_set_key()