From: Xin Long <lucien.xin@xxxxxxxxx> Date: Thu, 12 Nov 2015 13:07:07 +0800 > now sctp auth cannot work well when setting a hmacid manually, which > is caused by that we didn't use the network order for hmacid, so fix > it by adding the transformation in sctp_auth_ep_set_hmacs. > > even we set hmacid with the network order in userspace, it still > can't work, because of this condition in sctp_auth_ep_set_hmacs(): > > if (id > SCTP_AUTH_HMAC_ID_MAX) > return -EOPNOTSUPP; > > so this wasn't working before and thus it won't break compatibility. > > Signed-off-by: Xin Long <lucien.xin@xxxxxxxxx> > Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@xxxxxxxxx> Applied and queued up for -stable, thanks. -- 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