top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Sctp failover question

+1 vote
287 views

I happened to be perusing the SCTP code in Linux' tree and noticed that the following is happening in net/sctp/associola.c,

sctp_assoc_control_transport():

/* Don't inform ULP about transition from PF to
 * active state and set cwnd to 1, see SCTP
 * Quick failover draft section 5.1, point 5
 */
if (transport->state == SCTP_PF) {
 ulp_notify = false;
 transport->cwnd = 1;
}

From the quick failover draft, I see that the cwnd should be 1*MTU. This doesn't seem correct as other places set the cwnd as:

transport->cwnd = asoc->pathmtu;

Am I missing something or is this just a simplification?

posted Aug 9, 2013 by Abhay Kulkarni

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

I think you are correct, that doesn't seem right.

answer Aug 9, 2013 by Sumit Pokharna
Similar Questions
0 votes

I want to understand in which cases SCTP abort occurs and how it is get resolved ?

+1 vote

It is found that IP X haven't replied heartbeat Ack to IP A but our client will not try another path B->Y. Would you advise how B->Y path can be enable?

lksctp client IP info:
Primary IP: A
Secondary IP: B

Server primary IP: X
Server secondary IP: Y

...