diff options
author | Vladislav Yasevich <vladislav.yasevich@hp.com> | 2005-04-28 14:57:54 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-04-28 14:57:54 -0400 |
commit | 173372162ddbd414cc471c1a3a52ad7ea279aaf4 (patch) | |
tree | c5a3642f18f171b57c1154ec25fafdfd14d99502 /net/sctp | |
parent | f4d0ee983ec01e59a77e157ab702246f397b2a2b (diff) |
[SCTP] Fix SCTP_ASSOCINFO getsockopt for 1-1 style
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 'net/sctp')
-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 e8c210182571..32f2249411fa 100644 --- a/net/sctp/socket.c +++ b/net/sctp/socket.c | |||
@@ -3473,7 +3473,7 @@ static int sctp_getsockopt_associnfo(struct sock *sk, int len, | |||
3473 | return -EINVAL; | 3473 | return -EINVAL; |
3474 | 3474 | ||
3475 | /* Values correspoinding to the specific association */ | 3475 | /* Values correspoinding to the specific association */ |
3476 | if (assocparams.sasoc_assoc_id != 0) { | 3476 | if (asoc) { |
3477 | assocparams.sasoc_asocmaxrxt = asoc->max_retrans; | 3477 | assocparams.sasoc_asocmaxrxt = asoc->max_retrans; |
3478 | assocparams.sasoc_peer_rwnd = asoc->peer.rwnd; | 3478 | assocparams.sasoc_peer_rwnd = asoc->peer.rwnd; |
3479 | assocparams.sasoc_local_rwnd = asoc->a_rwnd; | 3479 | assocparams.sasoc_local_rwnd = asoc->a_rwnd; |