mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
net: fix sctp breakage
broken by commit 5e739d1752aca4e8f3e794d431503bfca3162df4; AFAICS should be -stable fodder as well... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Aced-by: Vlad Yasevich <vladislav.yasevich@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1b1d8f73a4
commit
cb0dc77de0
1 changed files with 2 additions and 1 deletions
|
@ -111,7 +111,8 @@ static struct sctp_endpoint *sctp_endpoint_init(struct sctp_endpoint *ep,
|
||||||
if (sctp_addip_enable) {
|
if (sctp_addip_enable) {
|
||||||
auth_chunks->chunks[0] = SCTP_CID_ASCONF;
|
auth_chunks->chunks[0] = SCTP_CID_ASCONF;
|
||||||
auth_chunks->chunks[1] = SCTP_CID_ASCONF_ACK;
|
auth_chunks->chunks[1] = SCTP_CID_ASCONF_ACK;
|
||||||
auth_chunks->param_hdr.length += htons(2);
|
auth_chunks->param_hdr.length =
|
||||||
|
htons(sizeof(sctp_paramhdr_t) + 2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue