diff options
author | Alexei Starovoitov <ast@plumgrid.com> | 2015-03-27 03:53:57 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-29 22:26:54 +0200 |
commit | 608cd71a9c7c9db76e78a792c5a4101e12fea43f (patch) | |
tree | 9824e0795f923a6370e53799f84e8ad13764cb23 /net/8021q | |
parent | Merge branch 'dsa-hw-bridging' (diff) | |
download | linux-608cd71a9c7c9db76e78a792c5a4101e12fea43f.tar.xz linux-608cd71a9c7c9db76e78a792c5a4101e12fea43f.zip |
tc: bpf: generalize pedit action
existing TC action 'pedit' can munge any bits of the packet.
Generalize it for use in bpf programs attached as cls_bpf and act_bpf via
bpf_skb_store_bytes() helper function.
Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>
Reviewed-by: Jiri Pirko <jiri@resnulli.us>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q')
0 files changed, 0 insertions, 0 deletions