Re: ipv6_addr_cmp performance patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 10 Nov 2004 00:30:03 +0100 (CET)
Henrik Nordstrom <hno@marasystems.com> wrote:

> On Wed, 10 Nov 2004, Herbert Xu wrote:
> 
> > What if the addresses are not aligned on a platform where it matters?
> 
> Can this at all happen with the sockaddr_in6/in6_addr alignment 
> requirements? It is already a union of uint32_t.

It can if it is embedded within a structure using attribute
"packed".
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux