Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Tested under ProjectSakura with TD-r37 patches. Fixed 4.14 boot issues related to bpf like:
--------- beginning of crash
05-20 01:00:19.948 2165 2165 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
05-20 01:00:19.948 2165 2165 E AndroidRuntime: java.lang.RuntimeException: Failed to create service com.android.server.ConnectivityServiceInitializer: service constructor threw an exception
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:229)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at com.android.server.SystemServiceManager.startServiceFromJar(SystemServiceManager.java:155)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at com.android.server.SystemServer.startOtherServices(SystemServer.java:2120)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:968)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:689)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:555)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:856)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at java.lang.reflect.Constructor.newInstance0(Native Method)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:218)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: ... 7 more
05-20 01:00:19.948 2165 2165 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'android.net.connectivity.com.android.net.module.util.Struct android.net.connectivity.com.android.net.module.util.IBpfMap.getValue(android.net.connectivity.com.android.net.module.util.Struct)' on a null object reference
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at android.net.connectivity.com.android.server.BpfNetMaps.setChildChain(BpfNetMaps.java:516)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at android.net.connectivity.com.android.server.ConnectivityService.(ConnectivityService.java:2066)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at android.net.connectivity.com.android.server.ConnectivityService.(ConnectivityService.java:1963)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at com.android.server.ConnectivityServiceInitializer.(ConnectivityServiceInitializer.java:52)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: ... 10 more