1
0
Fork 0
alistair23-linux/Documentation/accounting
Nicolas Dichtel 570d8e9398 taskstats: fix nl parsing in accounting/getdelays.c
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 80df554275, because the
kernel didn't put more than two nested attributes.

Fixes: a3baf649ca ("[PATCH] per-task-delay-accounting: documentation")
Fixes: 80df554275 ("taskstats: use the libnl API to align nlattr on 64-bit")
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-04-27 12:50:14 -04:00
..
.gitignore
Makefile
cgroupstats.txt
delay-accounting.txt
getdelays.c taskstats: fix nl parsing in accounting/getdelays.c 2016-04-27 12:50:14 -04:00
taskstats-struct.txt
taskstats.txt