Re: [PATCH] libnetlink: fix alignment of netlink messages

2016-09-18 Thread Denys Vlasenko
Applied, thanks On Fri, Sep 16, 2016 at 10:40 PM, Hauke Mehrtens wrote: > An padding to align a message should not only be added between > different attributes of a netlink message, but also at the end of the > message to pad it to the correct size. > > Without this patch the following command do

[PATCH] libnetlink: fix alignment of netlink messages

2016-09-16 Thread Hauke Mehrtens
An padding to align a message should not only be added between different attributes of a netlink message, but also at the end of the message to pad it to the correct size. Without this patch the following command does not work and returns an error code: ip link add type nlmon Without this ip from