Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17337216 authored by Vladislav Yasevich's avatar Vladislav Yasevich Committed by David S. Miller
Browse files

[SCTP] Fix SCTP_ASSOCINFO getsockopt for 1-1 style

parent f4d0ee98
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;