From: Xin Long <lucien.xin@xxxxxxxxx> Date: Wed, 2 May 2018 13:37:44 +0800 > When processing a duplicate cookie-echo chunk, for case 'A' and 'B', > after sctp_process_init for the new asoc, if auth is enabled for the > cookie-ack chunk, the active key should also be initialized. > > Otherwise, the cookie-ack chunk made later can not be set with auth > shkey properly, and a crash can even be caused by this, as after > Commit 1b1e0bc99474 ("sctp: add refcnt support for sh_key"), sctp > needs to hold the shkey when making control chunks. > > Fixes: 1b1e0bc99474 ("sctp: add refcnt support for sh_key") > Reported-by: Jianwen Ji <jiji@xxxxxxxxxx> > Signed-off-by: Xin Long <lucien.xin@xxxxxxxxx> 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