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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 09 Dec 2010 08:18:36 +0100
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	David Miller <davem@...emloft.net>
Cc:	netdev@...r.kernel.org
Subject: Re: [PATCH] net: Abstract away all dst_entry metrics accesses.

Le mercredi 08 décembre 2010 à 21:48 -0800, David Miller a écrit :
> Use helper functions to hide all direct accesses, especially writes,
> to dst_entry metrics values.
> 
> This will allow us to:
> 
> 1) More easily change how the metrics are stored.
> 
> 2) Implement COW for metrics.
> 
> In particular this will help us put metrics into the inetpeer
> cache if that is what we end up doing.  We can make the _metrics
> member a pointer instead of an array, initially have it point
> at the read-only metrics in the FIB, and then on the first set
> grab an inetpeer entry and point the _metrics member there.
> 
> Signed-off-by: David S. Miller <davem@...emloft.net>

Very exciting, thanks David !

Acked-by: Eric Dumazet <eric.dumazet@...il.com>


--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ