Re: [PATCH net-next 9/9] taskstats: use the libnl API to align nlattr on 64-bit

From: Balbir Singh
Date: Tue Apr 26 2016 - 21:15:20 EST




On 23/04/16 01:31, Nicolas Dichtel wrote:
> Goal of this patch is to use the new libnl API to align netlink attribute
> when needed.
> The layout of the netlink message will be a bit different after the patch,
> because the padattr (TASKSTATS_TYPE_STATS) will be inside the nested
> attribute instead of before it.
>
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@xxxxxxxxx>

The layout will change/break user space -- I've not tested the patch though..

Balbir Singh.