diff options
| author | Alexei Starovoitov <[email protected]> | 2015-03-17 01:06:02 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-03-17 19:06:31 +0000 |
| commit | c24973957975403521ca76a776c2dfd12fbe9add (patch) | |
| tree | 0a05287480110f113d719a1e3852b4f5e647685d /drivers/net/xen-netback/interface.c | |
| parent | Merge branch 'const_of_device_id' (diff) | |
| download | kernel-c24973957975403521ca76a776c2dfd12fbe9add.tar.gz kernel-c24973957975403521ca76a776c2dfd12fbe9add.zip | |
bpf: allow BPF programs access 'protocol' and 'vlan_tci' fields
as a follow on to patch 70006af95515 ("bpf: allow eBPF access skb fields")
this patch allows 'protocol' and 'vlan_tci' fields to be accessible
from extended BPF programs.
The usage of 'protocol', 'vlan_present' and 'vlan_tci' fields is the same as
corresponding SKF_AD_PROTOCOL, SKF_AD_VLAN_TAG_PRESENT and SKF_AD_VLAN_TAG
accesses in classic BPF.
Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
