Home
last modified time | relevance | path

Searched refs:sh_key (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/net/sctp/
Dauth.c110 static void sctp_auth_shkey_free(struct sctp_shared_key *sh_key) in sctp_auth_shkey_free() argument
112 BUG_ON(!list_empty(&sh_key->key_list)); in sctp_auth_shkey_free()
113 sctp_auth_key_put(sh_key->key); in sctp_auth_shkey_free()
114 sh_key->key = NULL; in sctp_auth_shkey_free()
115 kfree(sh_key); in sctp_auth_shkey_free()
361 struct sctp_shared_key *sh_key; in sctp_auth_asoc_copy_shkeys() local
366 key_for_each(sh_key, &ep->endpoint_shared_keys) { in sctp_auth_asoc_copy_shkeys()
367 new = sctp_auth_shkey_create(sh_key->key_id, gfp); in sctp_auth_asoc_copy_shkeys()
371 new->key = sh_key->key; in sctp_auth_asoc_copy_shkeys()