Re: New struct sock_common breaks parisc 64 bit compiles with a misalignment

From: David S. Miller (davem@redhat.com)
Date: Tue Jun 10 2003 - 11:12:17 EST


   From: James Bottomley <James.Bottomley@SteelEye.com>
   Date: 09 Jun 2003 23:57:46 -0500
   
   A fix that seems to work for me on parisc64 is to move the atomic_t out
   of the end of struct sock_common and back into the two other structures
   (so struct sock_common now ends on 0 mod 8).
   
I would suggest instead to add the proper alignment attribute
to the appropriate members of the tw bucket.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:24 EST