Skip to content

Commit

Permalink
net: fix sctp breakage
Browse files Browse the repository at this point in the history
broken by commit 5e739d1; AFAICS should
be -stable fodder as well...

Signed-off-by: Al Viro <[email protected]>
Aced-by: Vlad Yasevich <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Al Viro authored and davem330 committed Mar 19, 2009
1 parent 1b1d8f7 commit cb0dc77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/sctp/endpointola.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ static struct sctp_endpoint *sctp_endpoint_init(struct sctp_endpoint *ep,
if (sctp_addip_enable) {
auth_chunks->chunks[0] = SCTP_CID_ASCONF;
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);
}
}

Expand Down

0 comments on commit cb0dc77

Please sign in to comment.