diff options
author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2006-01-17 19:55:17 (GMT) |
---|---|---|
committer | Sridhar Samudrala <sri@us.ibm.com> | 2006-01-17 19:55:17 (GMT) |
commit | 8116ffad4180b39d7a755345c1fde09da83930c0 (patch) | |
tree | c99ff688ff5a4602c2c8ed52bd2e17d8273e64a6 /net/sctp/socket.c | |
parent | 38b0e42aba928d9929a26ec23b850c36a31fca5f (diff) | |
download | linux-8116ffad4180b39d7a755345c1fde09da83930c0.tar.xz |
[SCTP]: Fix bad sysctl formatting of SCTP timeout values on 64-bit m/cs.
Change all the structure members that hold jiffies to be of type
unsigned long. This also corrects bad sysctl formating on 64 bit
architectures.
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Diffstat (limited to 'net/sctp/socket.c')
-rw-r--r-- | net/sctp/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/socket.c b/net/sctp/socket.c index c98ee375..6a0b1af 100644 --- a/net/sctp/socket.c +++ b/net/sctp/socket.c @@ -2995,7 +2995,7 @@ SCTP_STATIC int sctp_init_sock(struct sock *sk) sp->hbinterval = jiffies_to_msecs(sctp_hb_interval); sp->pathmaxrxt = sctp_max_retrans_path; sp->pathmtu = 0; // allow default discovery - sp->sackdelay = sctp_sack_timeout; + sp->sackdelay = jiffies_to_msecs(sctp_sack_timeout); sp->param_flags = SPP_HB_ENABLE | SPP_PMTUD_ENABLE | SPP_SACKDELAY_ENABLE; |