mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[SCTP] Fix SCTP_ASSOCINFO getsockopt for 1-1 style
Signed-off-by: Vladislav Yasevich <[email protected]> Signed-off-by: Sridhar Samudrala <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
f4d0ee983e
commit
173372162d
1 changed files with 1 additions and 1 deletions
|
|
@ -3473,7 +3473,7 @@ static int sctp_getsockopt_associnfo(struct sock *sk, int len,
|
|||
return -EINVAL;
|
||||
|
||||
/* Values correspoinding to the specific association */
|
||||
if (assocparams.sasoc_assoc_id != 0) {
|
||||
if (asoc) {
|
||||
assocparams.sasoc_asocmaxrxt = asoc->max_retrans;
|
||||
assocparams.sasoc_peer_rwnd = asoc->peer.rwnd;
|
||||
assocparams.sasoc_local_rwnd = asoc->a_rwnd;
|
||||
|
|
|
|||
Loading…
Reference in a new issue