Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1389368
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net-next v2] taskstats: fix nl parsing in accounting/getdelays.c |
| Date | 2016-04-27 19:00 +0200 |
| Message-ID | <rsAYG-4mv-9@gated-at.bofh.it> (permalink) |
| References | <rsA2E-3Ck-37@gated-at.bofh.it> <rsA2E-3Ck-35@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Date: Wed, 27 Apr 2016 17:53:08 +0200
> 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>
Applied, thanks.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH net-next v2] taskstats: fix nl parsing in accounting/getdelays.c Nicolas Dichtel <nicolas.dichtel@6wind.com> - 2016-04-27 18:00 +0200 Re: [PATCH net-next v2] taskstats: fix nl parsing in accounting/getdelays.c David Miller <davem@davemloft.net> - 2016-04-27 19:00 +0200
csiph-web