Blame SOURCES/ntp-4.2.6p1-cmsgalign.patch

6e16f6
diff -up ntp-4.2.6p1/ntpd/ntp_io.c.cmsgalign ntp-4.2.6p1/ntpd/ntp_io.c
6e16f6
--- ntp-4.2.6p1/ntpd/ntp_io.c.cmsgalign	2010-03-04 18:28:53.000000000 +0100
6e16f6
+++ ntp-4.2.6p1/ntpd/ntp_io.c	2010-03-04 18:30:34.000000000 +0100
6e16f6
@@ -3194,8 +3194,8 @@ read_network_packet(
6e16f6
 	msghdr.msg_namelen    = fromlen;
6e16f6
 	msghdr.msg_iov        = &iovec;
6e16f6
 	msghdr.msg_iovlen     = 1;
6e16f6
-	msghdr.msg_control    = (void *)&control;
6e16f6
-	msghdr.msg_controllen = sizeof(control);
6e16f6
+	msghdr.msg_control    = (void *)((long)(control + 7) & -8); /* align to 8 bytes */
6e16f6
+	msghdr.msg_controllen = sizeof(control) - 8;
6e16f6
 	msghdr.msg_flags      = 0;
6e16f6
 	rb->recv_length       = recvmsg(fd, &msghdr, 0);
6e16f6
 #endif