Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75325
b: refs/heads/master
c: 036b579
h: refs/heads/master
i:
  75323: 55b83f9
v: v3
  • Loading branch information
Vlad Yasevich authored and David S. Miller committed Jan 9, 2008
1 parent 7652e51 commit c910316
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6df9cfc1ad45839e2a11330ab354330c6128cb73
refs/heads/master: 036b579b1146f52c51398f1ab663cf659094107d
6 changes: 6 additions & 0 deletions trunk/net/sctp/sm_make_chunk.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,9 @@ struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc,
chunksize = sizeof(init) + addrs_len + SCTP_SAT_LEN(num_types);
chunksize += sizeof(ecap_param);

if (sctp_prsctp_enable)
chunksize += sizeof(prsctp_param);

/* ADDIP: Section 4.2.7:
* An implementation supporting this extension [ADDIP] MUST list
* the ASCONF,the ASCONF-ACK, and the AUTH chunks in its INIT and
Expand Down Expand Up @@ -369,6 +372,9 @@ struct sctp_chunk *sctp_make_init_ack(const struct sctp_association *asoc,
if (asoc->peer.ecn_capable)
chunksize += sizeof(ecap_param);

if (sctp_prsctp_enable)
chunksize += sizeof(prsctp_param);

if (sctp_addip_enable) {
extensions[num_ext] = SCTP_CID_ASCONF;
extensions[num_ext+1] = SCTP_CID_ASCONF_ACK;
Expand Down

0 comments on commit c910316

Please sign in to comment.