On Thu, 2014-10-30 at 11:14 +0200, Tomasz Bursztyka wrote: > Hi Johannes, > > > It really bloats the*arguments* more than anything, no way to change > > that, say by sending the delete message before the wdev is destroyed? > > You mean building the nlmsg before? (sending it would be wrong if the > deletion fails afterwards) Ah, I didn't realize that it could fail, but yeah, then it'd be something like msg = build_message(wdev) if (delete(wdev) != 0) free(msg) else send(msg) johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html