So just re-adding this comment @octo made the other day:

> I'm probably missing something, but how is this data ever used? I think the intention is to pass it back within `data`, but I'd expect a > construct like `*bs = …;` in that case. Alternatively something like:

> ```c
> struct gnet_stats_basic **stats_ptr = data;
> *stats_ptr = mnl_attr_get_payload(attr);
> ```

I prefer leaving it to @andhe as I don't really understand this part neither.