diff options
| -rw-r--r-- | net/sctp/socket.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/sctp/socket.c b/net/sctp/socket.c index 10df48aa4e2c..011c349d877a 100644 --- a/net/sctp/socket.c +++ b/net/sctp/socket.c | |||
| @@ -4409,6 +4409,9 @@ static int sctp_setsockopt_scheduler(struct sock *sk, | |||
| 4409 | if (asoc) | 4409 | if (asoc) |
| 4410 | return sctp_sched_set_sched(asoc, params.assoc_value); | 4410 | return sctp_sched_set_sched(asoc, params.assoc_value); |
| 4411 | 4411 | ||
| 4412 | if (sctp_style(sk, TCP)) | ||
| 4413 | params.assoc_id = SCTP_FUTURE_ASSOC; | ||
| 4414 | |||
| 4412 | if (params.assoc_id == SCTP_FUTURE_ASSOC || | 4415 | if (params.assoc_id == SCTP_FUTURE_ASSOC || |
| 4413 | params.assoc_id == SCTP_ALL_ASSOC) | 4416 | params.assoc_id == SCTP_ALL_ASSOC) |
| 4414 | sp->default_ss = params.assoc_value; | 4417 | sp->default_ss = params.assoc_value; |
