aboutsummaryrefslogtreecommitdiff
path: root/net/ipv6
diff options
context:
space:
mode:
authorEric Dumazet2013-01-30 17:51:44 -0800
committerDavid S. Miller2013-01-30 22:38:34 -0500
commit3b58908a92e00840bcd9050808f3dc86fd547029 (patch)
tree3d3a2f97da69a5681a83cebf46e816e40670e34b /net/ipv6
parent45acd3a0a18c5692b34ee9091858c6f6c7b5d4a8 (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 'net/ipv6')
0 files changed, 0 insertions, 0 deletions