On Fri, May 22, 2020 at 2:30 AM Eric Dumazet <eduma...@google.com> wrote: > dst_cache_get() documents it must be used with BH disabled.
Since the report was complaining about preemption at this_cpu_ptr(), and "#syz test" request with my preemption-disable patch no longer complained, I didn't realize that it is documented in dst_cache.h that dst_cache_get() must be called with BH disabled. It is bug-prone that we don't have a check for complaining that BH is not disabled.