flag ebpf tether offload program for rawip as requiring 4.14+

The kernel patch
  'ANDROID: net: bpf: Allow TC programs to call BPF_FUNC_skb_change_head'
only made it into android common 4.14+ trees (because the entire
bpf_skb_change_head function isn't present in vanilla 4.9 and wasn't
backported).

On a blueline (4.9 device) we only have:
  adb shell ls /sys/fs/bpf/prog_offload_*
  /sys/fs/bpf/prog_offload_schedcls_ingress_tether_ether

Because the bpfloader fails:
  D LibBpfLoader: bpf_prog_load lib call for /system/etc/bpf/offload.o (schedcls_ingress_tether_rawip) returned fd: -1 (Invalid argument)

After this change on cuttlefish:
  adb shell 'ls -l /sys/fs/bpf/prog_offload_*'
  -r--r----- 1 root root 0 2020-04-16 00:24 /sys/fs/bpf/prog_offload_schedcls_ingress_tether_ether
  -r--r----- 1 root root 0 2020-04-16 00:24 /sys/fs/bpf/prog_offload_schedcls_ingress_tether_rawip

Tested: see above
Bug: 153437886
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ib8aea2cc7f95aaffd9e346a6ff7897ef3f6e5ad4
1 file changed