[PATCH 5.10 055/167] bpf, test: fix NULL pointer dereference on invalid expected_attach_type