commit | 6077fdfe34963fb70fdee633f055d3b6f65da221 | [log] [tgz] |
---|---|---|
author | Chenbo Feng <fengc@google.com> | Fri Sep 07 15:57:06 2018 -0700 |
committer | Chenbo Feng <fengc@google.com> | Tue Oct 16 20:43:15 2018 -0700 |
tree | 9ed878ff131584ec697a90a99d5df2abb3f95337 | |
parent | 0bdee43e6e1866b4e7a1817c2b3451be2738feef [diff] |
Fix bug in bpfloader runtime restart When netd restarted, it will run bpfloader again to make sure all bpf programs are loaded properly. However, the bpfloader treat the case program already loaded as a failure since it cannot get a fd for it. It doesn't break the current implementation but it will show unecessary error logs so it should be fixed. Bug: 79938294 Test: runtime restart netd and no bpfloader error showed in logcat Change-Id: Id8542cf6b68e67065e7aa9398b40d28beac4ecf9