From: Daniel Borkmann <dborkman@xxxxxxxxxx> Date: Fri, 8 Feb 2013 10:22:58 +0100 > In sctp_auth_make_key_vector, we allocate a temporary sctp_auth_bytes > structure with kmalloc instead of the sctp_auth_create_key allocator. > Change this to sctp_auth_create_key as it is the case everywhere else, > so that we also can properly free it via sctp_auth_key_put. This makes > it easier for future code changes in the structure and allocator itself, > since a single API is consistently used for this purpose. Also, by > using sctp_auth_create_key we're doing sanity checks over the arguments. > > Signed-off-by: Daniel Borkmann <dborkman@xxxxxxxxxx> Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-sctp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html