udp: fix rx queue len reported by diag and proc interface
[muen/linux.git] / net / ipv4 / udp.c
index 3365362cac8814342ea8c760be8e79cfdcbe3f53..9bb27df4dac5ec5f133b15e972f384bdc1d165b1 100644 (file)
@@ -2772,7 +2772,7 @@ static void udp4_format_sock(struct sock *sp, struct seq_file *f,
                " %02X %08X:%08X %02X:%08lX %08X %5u %8d %lu %d %pK %d",
                bucket, src, srcp, dest, destp, sp->sk_state,
                sk_wmem_alloc_get(sp),
-               sk_rmem_alloc_get(sp),
+               udp_rqueue_get(sp),
                0, 0L, 0,
                from_kuid_munged(seq_user_ns(f), sock_i_uid(sp)),
                0, sock_i_ino(sp),