linux_dsm_epyc7002/arch/x86/net
Eric Dumazet 3b58908a92 x86: bpf_jit_comp: add pkt_type support
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@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Maciej Żenczykowski <maze@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-01-30 22:38:34 -05:00
..
bpf_jit_comp.c x86: bpf_jit_comp: add pkt_type support 2013-01-30 22:38:34 -05:00
bpf_jit.S bpf jit: Let the x86 jit handle negative offsets 2012-04-03 18:01:41 -04:00
Makefile net: filter: Just In Time compiler for x86-64 2011-04-27 23:05:08 -07:00