commit | 80df554275c21edca22ece02448bdb378c2ee9f1 | [log] [tgz] |
---|---|---|
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | Fri Apr 22 17:31:24 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat Apr 23 20:13:25 2016 -0400 |
tree | ea4a3f342c07929025c193b2b67e206e1008afa9 | |
parent | de95c4a46a6e608444ccaf541087594553c7df11 [diff] |
taskstats: use the libnl API to align nlattr on 64-bit Goal of this patch is to use the new libnl API to align netlink attribute when needed. The layout of the netlink message will be a bit different after the patch, because the padattr (TASKSTATS_TYPE_STATS) will be inside the nested attribute instead of before it. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>