Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32783
b: refs/heads/master
c: 9faa730
h: refs/heads/master
i:
  32781: 5630c0b
  32779: b65f878
  32775: 6dc1197
  32767: 5ae4f03
v: v3
  • Loading branch information
Sridhar Samudrala authored and David S. Miller committed Jul 21, 2006
1 parent 1abbaf1 commit e24275c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: ad8fec1720e000ba2384de6408076a60fc92a981
refs/heads/master: 9faa730f1cbb951e95cb18e71b0fe265014c2450
3 changes: 2 additions & 1 deletion trunk/net/sctp/sm_statefuns.c
Original file line number Diff line number Diff line change
Expand Up @@ -5283,7 +5283,6 @@ static int sctp_eat_data(const struct sctp_association *asoc,
datalen -= sizeof(sctp_data_chunk_t);

deliver = SCTP_CMD_CHUNK_ULP;
chunk->data_accepted = 1;

/* Think about partial delivery. */
if ((datalen >= asoc->rwnd) && (!asoc->ulpq.pd_mode)) {
Expand Down Expand Up @@ -5362,6 +5361,8 @@ static int sctp_eat_data(const struct sctp_association *asoc,
if (SCTP_CMD_CHUNK_ULP == deliver)
sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_TSN, SCTP_U32(tsn));

chunk->data_accepted = 1;

/* Note: Some chunks may get overcounted (if we drop) or overcounted
* if we renege and the chunk arrives again.
*/
Expand Down

0 comments on commit e24275c

Please sign in to comment.