On 14/01/2020 18:53, David Ahern wrote: > On 1/14/20 9:50 AM, Nikolay Aleksandrov wrote: >> Ah fair enough, so nlmsg_parse() would be better even without attrs. > > that was the intention. It would be a good verification of the theory if > you could run a test with a larger ancillary header. > Just did, works like expected. Tested all sorts of wrong messages and attributes, they get properly validated and thrown out. Sending v2 in a minute. :) Thanks!