Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130189
b: refs/heads/master
c: 759af00
h: refs/heads/master
i:
  130187: d9f8eb2
v: v3
  • Loading branch information
Vlad Yasevich authored and David S. Miller committed Jan 22, 2009
1 parent 69e261c commit f1ace01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6574df9a89f9f7da3a4e5cee7633d430319d3350
refs/heads/master: 759af00ebef858015eb68876ac1f383bcb6a1774
7 changes: 4 additions & 3 deletions trunk/net/sctp/output.c
Original file line number Diff line number Diff line change
Expand Up @@ -324,14 +324,16 @@ sctp_xmit_t sctp_packet_append_chunk(struct sctp_packet *packet,
switch (chunk->chunk_hdr->type) {
case SCTP_CID_DATA:
retval = sctp_packet_append_data(packet, chunk);
if (SCTP_XMIT_OK != retval)
goto finish;
/* Disallow SACK bundling after DATA. */
packet->has_sack = 1;
/* Disallow AUTH bundling after DATA */
packet->has_auth = 1;
/* Let it be knows that packet has DATA in it */
packet->has_data = 1;
if (SCTP_XMIT_OK != retval)
goto finish;
/* timestamp the chunk for rtx purposes */
chunk->sent_at = jiffies;
break;
case SCTP_CID_COOKIE_ECHO:
packet->has_cookie_echo = 1;
Expand Down Expand Up @@ -470,7 +472,6 @@ int sctp_packet_transmit(struct sctp_packet *packet)
} else
chunk->resent = 1;

chunk->sent_at = jiffies;
has_data = 1;
}

Expand Down

0 comments on commit f1ace01

Please sign in to comment.