diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2016-04-27 17:53:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-27 12:50:14 -0400 |
commit | 570d8e9398011a63590c281a36cdce311196608e (patch) | |
tree | c11f34750ad1786576433edcff3cfad23582c139 /kernel | |
parent | 0e7dd0c9c3cde901f79f04260aa706bbfdc0c67e (diff) | |
download | linux-570d8e9398011a63590c281a36cdce311196608e.tar.bz2 |
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 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@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions