diff options
author | Eric Dumazet <edumazet@google.com> | 2013-01-30 20:51:44 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-30 22:38:34 -0500 |
commit | 3b58908a92e00840bcd9050808f3dc86fd547029 (patch) | |
tree | 3d3a2f97da69a5681a83cebf46e816e40670e34b /arch/m68k/install.sh | |
parent | 45acd3a0a18c5692b34ee9091858c6f6c7b5d4a8 (diff) |
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>
Diffstat (limited to 'arch/m68k/install.sh')
0 files changed, 0 insertions, 0 deletions