linux_old1/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 .gitignore updates 2008-10-30 11:38:45 -07:00
Makefile Documentation: use subdir-y to avoid unnecessary built-in.o files 2014-09-26 11:02:55 +02:00
cgroupstats.txt Documentation: update cgroupfs mount point 2011-06-15 21:52:50 -07:00
delay-accounting.txt per-task-delay-accounting: update document and getdelays.c for memory reclaim 2008-07-25 10:53:47 -07:00
getdelays.c taskstats: fix nl parsing in accounting/getdelays.c 2016-04-27 12:50:14 -04:00
taskstats-struct.txt Documentation cleanup: trivial misspelling, punctuation, and grammar corrections. 2008-07-26 12:00:06 -07:00
taskstats.txt