[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4B66AB33.60202@redhat.com>
Date: Mon, 01 Feb 2010 18:21:39 +0800
From: Cong Wang <amwang@...hat.com>
To: David Miller <davem@...emloft.net>
CC: linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
eric.dumazet@...il.com
Subject: Re: [Patch v2] net: export TCP send buffer size via netlink
David Miller wrote:
> Before you spend the next couple hours trying to figure out what to
> do...
>
> We already provide the information you're trying to export via
> linux/inet_diag.h:inet_diag_meminfo
>
> I hope the light goes on now :-)
>
Oh, I was just looking for a pointer.
Ok, ->idiag_wmem is gotten from sk->sk_wmem_queued, so ->sk_wmem_queued
is the TCP send buffer size that we want? I thought it is ->sk_sndbuf...
Thanks for your help!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists