patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / net / sctp / endpointola.c
index e706368..5f9a99c 100644 (file)
@@ -129,7 +129,7 @@ struct sctp_endpoint *sctp_endpoint_init(struct sctp_endpoint *ep,
        ep->timeouts[SCTP_EVENT_TIMEOUT_T1_INIT] =
                SCTP_DEFAULT_TIMEOUT_T1_INIT;
        ep->timeouts[SCTP_EVENT_TIMEOUT_T2_SHUTDOWN] =
-               MSECS_TO_JIFFIES(sp->rtoinfo.srto_initial);
+               msecs_to_jiffies(sp->rtoinfo.srto_initial);
        ep->timeouts[SCTP_EVENT_TIMEOUT_T3_RTX] = 0;
        ep->timeouts[SCTP_EVENT_TIMEOUT_T4_RTO] = 0;
 
@@ -138,7 +138,7 @@ struct sctp_endpoint *sctp_endpoint_init(struct sctp_endpoint *ep,
         * recommended value of 5 times 'RTO.Max'.
         */
         ep->timeouts[SCTP_EVENT_TIMEOUT_T5_SHUTDOWN_GUARD]
-               = 5 * MSECS_TO_JIFFIES(sp->rtoinfo.srto_max);
+               = 5 * msecs_to_jiffies(sp->rtoinfo.srto_max);
 
        ep->timeouts[SCTP_EVENT_TIMEOUT_HEARTBEAT] =
                SCTP_DEFAULT_TIMEOUT_HEARTBEAT;