[PATCH 6.1 049/132] bpf: Add extra path pointer check to d_path helper