diff options
author | Vladislav Yasevich <vladislav.yasevich@hp.com> | 2005-11-12 01:06:16 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-11-12 01:06:16 +0100 |
commit | 1e7d3d90c95b32374057e454417b2f50440be20e (patch) | |
tree | cd12fac53642654beb67924a6bf37b86b4b54b07 /net/sctp/socket.c | |
parent | [SCTP]: Fix potential NULL pointer dereference in sctp_v4_get_saddr (diff) | |
download | linux-1e7d3d90c95b32374057e454417b2f50440be20e.tar.xz linux-1e7d3d90c95b32374057e454417b2f50440be20e.zip |
[SCTP]: Remove timeouts[] array from sctp_endpoint.
The socket level timeout values are maintained in sctp_sock and
association level timeouts are in sctp_association. So there is
no need for ep->timeouts.
Signed-off-by: Vladislav Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | net/sctp/socket.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sctp/socket.c b/net/sctp/socket.c index b529af5e6f2a..4d1b8d8904c4 100644 --- a/net/sctp/socket.c +++ b/net/sctp/socket.c @@ -1932,7 +1932,6 @@ static int sctp_setsockopt_autoclose(struct sock *sk, char __user *optval, if (copy_from_user(&sp->autoclose, optval, optlen)) return -EFAULT; - sp->ep->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE] = sp->autoclose * HZ; return 0; } |