]> git.ipfire.org Git - thirdparty/bird.git/commit
netlink: update struct msghdr
authorStijn Tintel <stijn@linux-ipv6.be>
Tue, 10 May 2016 13:45:35 +0000 (16:45 +0300)
committerJan Moskyto Matejka <mq@ucw.cz>
Tue, 10 May 2016 14:05:16 +0000 (16:05 +0200)
commit31e9e10144a6994773a04d94903fa3bdde6de91e
tree6a99ee431124d8d95ad07ac118251f6ffefd0913
parentf7a99acb4eac23223f51ce83b8081cc9695fef1e
netlink: update struct msghdr

The netlink code assumes an order for the members of struct msghdr.
This breaks recvmsg and sendmsg with musl libc on mips64. Fix this by
using designated initializers instead.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
sysdep/linux/netlink.c