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

From
Nicolas Dichtel <hidden>
Date
2016-04-27 15:50:11
Also in
lkml, netfilter-devel
Reply to
Nicolas Dichtel, 2016-04-27
Le 27/04/2016 17:47, Nicolas Dichtel a écrit :
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 <redacted>
Please, drop this version. I fatfingered my rebase.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev
Thread (24 messages) 24 messages, 5 authors, last reply 2016-04-27
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help