Module Name:    src
Committed By:   martin
Date:           Fri Aug  2 16:51:25 UTC 2013

Modified Files:
        src/usr.sbin/ldpd: mpls_routes.h

Log Message:
Do not pack struct rt_msg - this voids the alignement restrictions and
causes crashes on alignemen critical archs.
>From Matt Thomas.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/ldpd/mpls_routes.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/ldpd/mpls_routes.h
diff -u src/usr.sbin/ldpd/mpls_routes.h:1.6 src/usr.sbin/ldpd/mpls_routes.h:1.7
--- src/usr.sbin/ldpd/mpls_routes.h:1.6	Thu Jul 18 11:45:36 2013
+++ src/usr.sbin/ldpd/mpls_routes.h	Fri Aug  2 16:51:25 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: mpls_routes.h,v 1.6 2013/07/18 11:45:36 kefren Exp $ */
+/* $NetBSD: mpls_routes.h,v 1.7 2013/08/02 16:51:25 martin Exp $ */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -57,7 +57,7 @@ union sockunion {
 struct rt_msg {
 	struct rt_msghdr m_rtm;
 	char            m_space[512];
-}               __packed;
+};
 
 union sockunion *	make_inet_union(const char *);
 union sockunion *	make_mpls_union(uint32_t);

Reply via email to