diff options
Diffstat (limited to 'net/sctp')
-rw-r--r-- | net/sctp/proc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/sctp/proc.c b/net/sctp/proc.c index d9cb2ab149fe..c3bea269faf4 100644 --- a/net/sctp/proc.c +++ b/net/sctp/proc.c | |||
@@ -220,7 +220,8 @@ static int sctp_eps_seq_show(struct seq_file *seq, void *v) | |||
220 | seq_printf(seq, "%8pK %8pK %-3d %-3d %-4d %-5d %5d %5lu ", ep, sk, | 220 | seq_printf(seq, "%8pK %8pK %-3d %-3d %-4d %-5d %5d %5lu ", ep, sk, |
221 | sctp_sk(sk)->type, sk->sk_state, hash, | 221 | sctp_sk(sk)->type, sk->sk_state, hash, |
222 | epb->bind_addr.port, | 222 | epb->bind_addr.port, |
223 | sock_i_uid(sk), sock_i_ino(sk)); | 223 | from_kuid_munged(seq_user_ns(seq), sock_i_uid(sk)), |
224 | sock_i_ino(sk)); | ||
224 | 225 | ||
225 | sctp_seq_dump_local_addrs(seq, epb); | 226 | sctp_seq_dump_local_addrs(seq, epb); |
226 | seq_printf(seq, "\n"); | 227 | seq_printf(seq, "\n"); |
@@ -332,7 +333,8 @@ static int sctp_assocs_seq_show(struct seq_file *seq, void *v) | |||
332 | assoc->assoc_id, | 333 | assoc->assoc_id, |
333 | assoc->sndbuf_used, | 334 | assoc->sndbuf_used, |
334 | atomic_read(&assoc->rmem_alloc), | 335 | atomic_read(&assoc->rmem_alloc), |
335 | sock_i_uid(sk), sock_i_ino(sk), | 336 | from_kuid_munged(seq_user_ns(seq), sock_i_uid(sk)), |
337 | sock_i_ino(sk), | ||
336 | epb->bind_addr.port, | 338 | epb->bind_addr.port, |
337 | assoc->peer.port); | 339 | assoc->peer.port); |
338 | seq_printf(seq, " "); | 340 | seq_printf(seq, " "); |