From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Emelyanov Subject: Re: [PATCH BUG-FIX] udp_diag: implement idiag_get_info for udp/udplite to get queue information Date: Wed, 25 Apr 2012 16:28:31 +0400 Message-ID: <4F97EDEF.60202@parallels.com> References: <4F977A6D.1050508@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: David Miller , Alexey Kuznetsov , "jmorris@namei.org" , NetDev , davidshan To: Shan Wei Return-path: Received: from mailhub.sw.ru ([195.214.232.25]:12577 "EHLO relay.sw.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752995Ab2DYM3d (ORCPT ); Wed, 25 Apr 2012 08:29:33 -0400 In-Reply-To: <4F977A6D.1050508@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: On 04/25/2012 08:15 AM, Shan Wei wrote: > From: Shan Wei > > 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 Acked-by: Pavel Emelyanov