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] [thread-next>] [day] [month] [year] [list]
Message-ID: <1374755410.29923.3.camel@cr0>
Date:	Thu, 25 Jul 2013 20:30:10 +0800
From:	Cong Wang <amwang@...hat.com>
To:	David Miller <davem@...emloft.net>
Cc:	netdev@...r.kernel.org
Subject: Re: [Patch net-next 0/7] net: introduce generic type and helpers
 for IP address

On Wed, 2013-07-24 at 14:28 -0700, David Miller wrote:
> 
> You're creating bloat in places that don't need a full sockaddr_in{,6}.
> 
> There is a reason some of these pieces of code used custom types, to
> minimize the overhead.

Do you mean the inetpeer part? I can drop it if you think it harms
performance. Actually it only increases the struct by 8 bytes, if I do
calculation correctly.

Thanks.

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