commit | b20d28df6a1f49da7038522674c5356fea2bcacf | [log] [tgz] |
---|---|---|
author | Chenbo Feng <fengc@google.com> | Wed Apr 17 14:33:02 2019 -0700 |
committer | Maciej Żenczykowski <maze@google.com> | Wed Apr 17 21:40:39 2019 +0000 |
tree | 4ef38413aa7f54910c9a9db9f8dbb9b1655ac669 | |
parent | 0a1a9a11d96d937e7563659f92edf04fafa766c9 [diff] |
Skip bpf object loading on unsupported devices The bpfloader should not try to load bpf objects on unsupported devices since devices with 4.4 kernel can have bpf maps but not bpf pogram support. Creating bpf maps on those devices would mislead the framework code to use an unsupported code path and crash system server. Bug: 130687855 Test: cuttlefish boot test for 4.4 kernel. Change-Id: I43ffc01e1099ee3effaa6ba30aa78080d5bec72f