diff options
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 00a748d14062..be23a0b7b89e 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -2393,7 +2393,7 @@ void tcp_proc_unregister(struct net *net, struct tcp_seq_afinfo *afinfo) | |||
2393 | EXPORT_SYMBOL(tcp_proc_unregister); | 2393 | EXPORT_SYMBOL(tcp_proc_unregister); |
2394 | 2394 | ||
2395 | static void get_openreq4(const struct sock *sk, const struct request_sock *req, | 2395 | static void get_openreq4(const struct sock *sk, const struct request_sock *req, |
2396 | struct seq_file *f, int i, int uid, int *len) | 2396 | struct seq_file *f, int i, kuid_t uid, int *len) |
2397 | { | 2397 | { |
2398 | const struct inet_request_sock *ireq = inet_rsk(req); | 2398 | const struct inet_request_sock *ireq = inet_rsk(req); |
2399 | int ttd = req->expires - jiffies; | 2399 | int ttd = req->expires - jiffies; |
@@ -2410,7 +2410,7 @@ static void get_openreq4(const struct sock *sk, const struct request_sock *req, | |||
2410 | 1, /* timers active (only the expire timer) */ | 2410 | 1, /* timers active (only the expire timer) */ |
2411 | jiffies_to_clock_t(ttd), | 2411 | jiffies_to_clock_t(ttd), |
2412 | req->retrans, | 2412 | req->retrans, |
2413 | uid, | 2413 | from_kuid_munged(seq_user_ns(f), uid), |
2414 | 0, /* non standard timer */ | 2414 | 0, /* non standard timer */ |
2415 | 0, /* open_requests have no inode */ | 2415 | 0, /* open_requests have no inode */ |
2416 | atomic_read(&sk->sk_refcnt), | 2416 | atomic_read(&sk->sk_refcnt), |
@@ -2461,7 +2461,7 @@ static void get_tcp4_sock(struct sock *sk, struct seq_file *f, int i, int *len) | |||
2461 | timer_active, | 2461 | timer_active, |
2462 | jiffies_to_clock_t(timer_expires - jiffies), | 2462 | jiffies_to_clock_t(timer_expires - jiffies), |
2463 | icsk->icsk_retransmits, | 2463 | icsk->icsk_retransmits, |
2464 | sock_i_uid(sk), | 2464 | from_kuid_munged(seq_user_ns(f), sock_i_uid(sk)), |
2465 | icsk->icsk_probes_out, | 2465 | icsk->icsk_probes_out, |
2466 | sock_i_ino(sk), | 2466 | sock_i_ino(sk), |
2467 | atomic_read(&sk->sk_refcnt), sk, | 2467 | atomic_read(&sk->sk_refcnt), sk, |