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

Commit 6aa2551c authored by Vlad Yasevich's avatar Vlad Yasevich Committed by David S. Miller
Browse files

[SCTP]: Fix the RX queue size shown in /proc/net/sctp/assocs output.



Show the true receive buffer usage.

Signed-off-by: default avatarVlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: default avatarSridhar Samudrala <sri@us.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 331c4ee7
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -344,7 +344,7 @@ static int sctp_assocs_seq_show(struct seq_file *seq, void *v)
			   assoc, sk, sctp_sk(sk)->type, sk->sk_state,
			   assoc, sk, sctp_sk(sk)->type, sk->sk_state,
			   assoc->state, hash, assoc->assoc_id,
			   assoc->state, hash, assoc->assoc_id,
			   assoc->sndbuf_used,
			   assoc->sndbuf_used,
			   (sk->sk_rcvbuf - assoc->rwnd),
			   atomic_read(&assoc->rmem_alloc),
			   sock_i_uid(sk), sock_i_ino(sk),
			   sock_i_uid(sk), sock_i_ino(sk),
			   epb->bind_addr.port,
			   epb->bind_addr.port,
			   assoc->peer.port);
			   assoc->peer.port);