diff options
Diffstat (limited to 'net/sctp/sm_make_chunk.c')
-rw-r--r-- | net/sctp/sm_make_chunk.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c index e0f01a4e8cd6..e1c5fc2be6b8 100644 --- a/net/sctp/sm_make_chunk.c +++ b/net/sctp/sm_make_chunk.c | |||
@@ -804,10 +804,11 @@ struct sctp_chunk *sctp_make_sack(const struct sctp_association *asoc) | |||
804 | gabs); | 804 | gabs); |
805 | 805 | ||
806 | /* Add the duplicate TSN information. */ | 806 | /* Add the duplicate TSN information. */ |
807 | if (num_dup_tsns) | 807 | if (num_dup_tsns) { |
808 | aptr->stats.idupchunks += num_dup_tsns; | ||
808 | sctp_addto_chunk(retval, sizeof(__u32) * num_dup_tsns, | 809 | sctp_addto_chunk(retval, sizeof(__u32) * num_dup_tsns, |
809 | sctp_tsnmap_get_dups(map)); | 810 | sctp_tsnmap_get_dups(map)); |
810 | 811 | } | |
811 | /* Once we have a sack generated, check to see what our sack | 812 | /* Once we have a sack generated, check to see what our sack |
812 | * generation is, if its 0, reset the transports to 0, and reset | 813 | * generation is, if its 0, reset the transports to 0, and reset |
813 | * the association generation to 1 | 814 | * the association generation to 1 |