aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/outqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sctp/outqueue.c')
-rw-r--r--net/sctp/outqueue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/outqueue.c b/net/sctp/outqueue.c
index 2966ff400755..746b07b7937d 100644
--- a/net/sctp/outqueue.c
+++ b/net/sctp/outqueue.c
@@ -366,7 +366,7 @@ static int sctp_prsctp_prune_sent(struct sctp_association *asoc,
366 streamout = &asoc->stream.out[chk->sinfo.sinfo_stream]; 366 streamout = &asoc->stream.out[chk->sinfo.sinfo_stream];
367 asoc->sent_cnt_removable--; 367 asoc->sent_cnt_removable--;
368 asoc->abandoned_sent[SCTP_PR_INDEX(PRIO)]++; 368 asoc->abandoned_sent[SCTP_PR_INDEX(PRIO)]++;
369 streamout->abandoned_sent[SCTP_PR_INDEX(PRIO)]++; 369 streamout->ext->abandoned_sent[SCTP_PR_INDEX(PRIO)]++;
370 370
371 if (!chk->tsn_gap_acked) { 371 if (!chk->tsn_gap_acked) {
372 if (chk->transport) 372 if (chk->transport)
@@ -404,7 +404,7 @@ static int sctp_prsctp_prune_unsent(struct sctp_association *asoc,
404 struct sctp_stream_out *streamout = 404 struct sctp_stream_out *streamout =
405 &asoc->stream.out[chk->sinfo.sinfo_stream]; 405 &asoc->stream.out[chk->sinfo.sinfo_stream];
406 406
407 streamout->abandoned_unsent[SCTP_PR_INDEX(PRIO)]++; 407 streamout->ext->abandoned_unsent[SCTP_PR_INDEX(PRIO)]++;
408 } 408 }
409 409
410 msg_len -= SCTP_DATA_SNDSIZE(chk) + 410 msg_len -= SCTP_DATA_SNDSIZE(chk) +