reassign 567534 libnl1 <mailto:[email protected]>
thanks

The bug is really in libnl1. It's caused by an unaligned 64bit access. This patch fixes the problem:

--- libnl-1.1.orig/include/linux/if_link.h
+++ libnl-1.1/include/linux/if_link.h
@@ -40,9 +40,9 @@
 /* The struct should be in sync with struct ifmap */
 struct rtnl_link_ifmap
 {
-       __u64   mem_start;
-       __u64   mem_end;
-       __u64   base_addr;
+       __u64   mem_start __attribute__((packed));
+       __u64   mem_end __attribute__((packed));
+       __u64   base_addr __attribute__((packed));
        __u16   irq;
        __u8    dma;
        __u8    port;

Thanks,
Jochen




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to