diff options
Diffstat (limited to 'net/sctp/output.c')
-rw-r--r-- | net/sctp/output.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/sctp/output.c b/net/sctp/output.c index f1b7d4bb591e..6ae47acaaec6 100644 --- a/net/sctp/output.c +++ b/net/sctp/output.c | |||
@@ -248,6 +248,11 @@ static sctp_xmit_t sctp_packet_bundle_sack(struct sctp_packet *pkt, | |||
248 | /* If the SACK timer is running, we have a pending SACK */ | 248 | /* If the SACK timer is running, we have a pending SACK */ |
249 | if (timer_pending(timer)) { | 249 | if (timer_pending(timer)) { |
250 | struct sctp_chunk *sack; | 250 | struct sctp_chunk *sack; |
251 | |||
252 | if (pkt->transport->sack_generation != | ||
253 | pkt->transport->asoc->peer.sack_generation) | ||
254 | return retval; | ||
255 | |||
251 | asoc->a_rwnd = asoc->rwnd; | 256 | asoc->a_rwnd = asoc->rwnd; |
252 | sack = sctp_make_sack(asoc); | 257 | sack = sctp_make_sack(asoc); |
253 | if (sack) { | 258 | if (sack) { |