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
| ||
|
Date: Fri, 21 Jun 2013 10:43:32 +0200 From: Johannes Berg <johannes@...solutions.net> To: David Laight <David.Laight@...LAB.COM> Cc: netdev@...r.kernel.org, ben@...adent.org.uk Subject: Re: [PATCH 5/6] alx: fix MAC address alignment problem On Fri, 2013-06-21 at 09:38 +0100, David Laight wrote: > > In two places, parts of MAC addresses are used as u32/u16 > > values. This can cause alignment problems, use put_unaligned > > and get_unaligned to fix this. > > I suspect they are always 16bit aligned, so 16bit accesses > would be ok - rather than using byte accesses. > However I wouldn't know how to request this with the available > definitions.... For at least one of them, there's no such guarantee. johannes -- 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