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] [day] [month] [year] [list]
Message-Id: <20130130.223902.318251097327343709.davem@davemloft.net>
Date:	Wed, 30 Jan 2013 22:39:02 -0500 (EST)
From:	David Miller <davem@...emloft.net>
To:	eric.dumazet@...il.com
Cc:	netdev@...r.kernel.org, maze@...gle.com, willemb@...gle.com
Subject: Re: [PATCH net-next] x86: bpf_jit_comp: add pkt_type support

From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 30 Jan 2013 17:51:44 -0800

> From: Eric Dumazet <edumazet@...gle.com>
> 
> Supporting access to skb->pkt_type is a bit tricky if we want
> to have a generic code, allowing pkt_type to be moved in struct sk_buff
> 
> pkt_type is a bit field, so compiler cannot really help us to find
> its offset. Let's use a helper for this : It will throw a one time
> message if pkt_type no longer starts at a byte boundary or is
> no longer a 3bit field.
> 
> Reported-by: Willem de Bruijn <willemb@...gle.com>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>

Applied, although that's quite a hoop to jump through to accomplish
this.
--
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