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  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]
Date:	Thu, 04 Sep 2014 16:41:49 +0200
From:	Hannes Frederic Sowa <>
To:	Eric Dumazet <>
Cc:	David Laight <David.Laight@...LAB.COM>,
	Denis Kirjanov <>,
	Alexei Starovoitov <>,
	Daniel Borkmann <>,
	Eric Dumazet <>,
	Denis Kirjanov <>,
	"" <>,
	Markos Chandras <>,
	Martin Schwidefsky <>
Subject: Re: [PATCH v2 net-next] net: filter: export pkt_type_offset() helper

On Do, 2014-09-04 at 07:35 -0700, Eric Dumazet wrote:
> On Thu, 2014-09-04 at 16:33 +0200, Hannes Frederic Sowa wrote:
> > Which btw. also uses int, which might change alignment of structures.
> You missed the point .
> kmemcheck wants to make sure the whole word is set, or else you could
> get false positives.
> kmemcheck needs are quite different.

Now that you said it, I understand. :)

You were right with the int vs. u8 thing all along. gcc aligns the
datatype on the next struct field and not on the whole field, as I
expected. So excuse my error above.

I think the latest proposals looks good?

To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists