diff --git a/net/sctp/outqueue.c b/net/sctp/outqueue.c index a367d15a21aa09b85fcc46aa8979f1c9064c6f55..d765fc53e74dd63447d5d47a96664ecedbde45a8 100644 --- a/net/sctp/outqueue.c +++ b/net/sctp/outqueue.c @@ -1758,6 +1758,9 @@ static void sctp_generate_fwdtsn(struct sctp_outq *q, __u32 ctsn) struct sctp_chunk *chunk; struct list_head *lchunk, *temp; + if (!asoc->peer.prsctp_capable) + return; + /* PR-SCTP C1) Let SackCumAck be the Cumulative TSN ACK carried in the * received SACK. *