commit | 62ad6fcd743792bf294f2a7ba26ab8f462065150 | [log] [tgz] |
---|---|---|
author | Shan Wei <davidshan@tencent.com> | Tue Apr 24 18:15:41 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 25 20:43:01 2012 -0400 |
tree | 6c8a4302149d69c5cd3933bbf09a7da5b148780e | |
parent | 202149265770426f0965557ffa0b500fbbd701dd [diff] |
udp_diag: implement idiag_get_info for udp/udplite to get queue information When we use netlink to monitor queue information for udp socket, idiag_rqueue and idiag_wqueue of inet_diag_msg are returned with 0. Keep consistent with netstat, just return back allocated rmem/wmem size. Signed-off-by: Shan Wei <davidshan@tencent.com> Acked-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: David S. Miller <davem@davemloft.net>