commit | 279d6a8ba75db699113ee9fd7bd1b5152e7f2267 | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <daniel@iogearbox.net> | Mon Apr 20 13:48:54 2015 +0200 |
committer | Stephen Hemminger <shemming@brocade.com> | Mon Apr 27 16:42:32 2015 -0700 |
tree | c4f33a831b8eb60f4a5c3c7c298520e50191fee8 | |
parent | 4bd624467bc6f8f6e8b4c676f3dd8ae7593fbe70 [diff] |
examples: bpf: fix ld offs to have same prog loaded on ingress/egress Fix up the eBPF example program to match our kernel fix in a166151cbe33 ("bpf: fix bpf helpers to use skb->mac_header relative offsets"). Tested on ingress and egress paths. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Cc: Alexei Starovoitov <ast@plumgrid.com> Acked-by: Alexei Starovoitov <ast@plumgrid.com>