busybox: libnetlink: fix alignment of netlink messages
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 16 Sep 2016 20:44:41 +0000 (22:44 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 16 Sep 2016 21:00:01 +0000 (23:00 +0200)
commit8b5e1282509290e890b4189e7fc5fc8459b4c0d0
treeb50d1d1bda0e52711b5ed743d22db9fbc0cf493e
parent25dab5d217715300dc609df07b56e5b73cefdfc1
busybox: libnetlink: fix alignment of netlink messages

A 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

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/utils/busybox/patches/302-netlink-alignment.patch [new file with mode: 0644]