kernel-netlink: Calculate length of Netlink messages correctly
authorTobias Brunner <tobias@strongswan.org>
Fri, 1 Feb 2019 08:19:03 +0000 (09:19 +0100)
committerTobias Brunner <tobias@strongswan.org>
Wed, 3 Apr 2019 10:00:08 +0000 (12:00 +0200)
commit735f9e6eb6194557d0a7043c9a08b1cbaf26600e
tree622fd40f5741f94f26c47ea57ed4588b77d0efc3
parentf43302dc10020b721ad07aa7aeaf5161e95b70d7
kernel-netlink: Calculate length of Netlink messages correctly

This is relevant when adding e.g. strings whose length are not aligned.
src/libcharon/plugins/kernel_netlink/kernel_netlink_shared.c