summaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2016-04-27 17:53:08 +0200
committerDavid S. Miller <davem@davemloft.net>2016-04-27 18:50:14 +0200
commit570d8e9398011a63590c281a36cdce311196608e (patch)
treec11f34750ad1786576433edcff3cfad23582c139 /tools/testing
parentpch_gbe: fix bogus trylock conversion (diff)
downloadlinux-570d8e9398011a63590c281a36cdce311196608e.tar.xz
linux-570d8e9398011a63590c281a36cdce311196608e.zip
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 'tools/testing')
0 files changed, 0 insertions, 0 deletions