[PATCH 6.0 725/862] libbpf: Fix overrun in netlink attribute iteration