On 11/08, Jakub Kicinski wrote: > On Thu, 8 Nov 2018 16:22:08 -0800, Stanislav Fomichev wrote: > > + for (map = bpf_map__prev(map, obj); > > + map != NULL; > > + map = bpf_map__prev(map, obj)) { > > nit pick: if you need to respin all these for loops on error paths could > have been more concise while loops Agreed with everything, will address this one and the other comments in v5. Thank you for another thorough review!