diff options
Diffstat (limited to 'net/sctp')
-rw-r--r-- | net/sctp/transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/transport.c b/net/sctp/transport.c index 1d4f3ac29baf..d0810dc5f079 100644 --- a/net/sctp/transport.c +++ b/net/sctp/transport.c | |||
@@ -572,7 +572,7 @@ void sctp_transport_burst_limited(struct sctp_transport *t) | |||
572 | u32 old_cwnd = t->cwnd; | 572 | u32 old_cwnd = t->cwnd; |
573 | u32 max_burst_bytes; | 573 | u32 max_burst_bytes; |
574 | 574 | ||
575 | if (t->burst_limited) | 575 | if (t->burst_limited || asoc->max_burst == 0) |
576 | return; | 576 | return; |
577 | 577 | ||
578 | max_burst_bytes = t->flight_size + (asoc->max_burst * asoc->pathmtu); | 578 | max_burst_bytes = t->flight_size + (asoc->max_burst * asoc->pathmtu); |