From: Xin Long <lucien....@gmail.com> 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....@gmail.com> > Signed-off-by: Marcelo Ricardo Leitner <marcelo.leit...@gmail.com> Applied and queued up for -stable, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html