lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161208.133124.1404435790534805233.davem@davemloft.net>
Date:   Thu, 08 Dec 2016 13:31:24 -0500 (EST)
From:   David Miller <davem@...emloft.net>
To:     eric.dumazet@...il.com
Cc:     netdev@...r.kernel.org, pabeni@...hat.com
Subject: Re: [PATCH net-next] net: do not read sk_drops if application does
 not care

From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 07 Dec 2016 10:05:36 -0800

> From: Eric Dumazet <edumazet@...gle.com>
> 
> sk_drops can be an often written field, do not read it unless
> application showed interest.
> 
> Note that sk_drops can be read via inet_diag, so applications
> can avoid getting this info from every received packet.
> 
> In the future, 'reading' sk_drops might require folding per node or per
> cpu fields, and thus become even more expensive than today.
> 
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>

Applied.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ