Re: [PATCH net-next v2] taskstats: fix nl parsing in accounting/getdelays.c

From: David Miller
Date: Wed Apr 27 2016 - 12:56:49 EST


From: Nicolas Dichtel <nicolas.dichtel@xxxxxxxxx>
Date: Wed, 27 Apr 2016 17:53:08 +0200

> The type TASKSTATS_TYPE_NULL should always be ignored.
>
> When jumping to the next attribute, only the length of the current
> attribute should be added, not the length of all nested attributes.
> This last bug was not visible before commit 80df554275c2, because the
> kernel didn't put more than two nested attributes.
>
> Fixes: a3baf649ca9c ("[PATCH] per-task-delay-accounting: documentation")
> Fixes: 80df554275c2 ("taskstats: use the libnl API to align nlattr on 64-bit")
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@xxxxxxxxx>

Applied, thanks.