[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150511091612.2cf9e971@urahara>
Date: Mon, 11 May 2015 09:16:12 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH iproute2] ss: small optim in tcp_show_info()
On Wed, 06 May 2015 11:33:23 -0700
Eric Dumazet <eric.dumazet@...il.com> wrote:
> From: Eric Dumazet <edumazet@...gle.com>
>
> Kernel can give us smaller tcp_info than our.
>
> We copy the kernel provided structure and fill with 0
> the remaining part.
>
> Lets clear only the missing part to save some cycles, as we intend to
> slightly increase tcp_info size in the future.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied, I don't think other people will have enough sockets to notice the difference :-)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists