login
Header Space

 
 

Re: [PATCH net-2.6] [IPV6] MIP6: Ensure independence from alignment.

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <yoshfuji@...>
Cc: <netdev@...>
Date: Monday, April 14, 2008 - 1:26 am

From: YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>
Date: Wed, 09 Apr 2008 00:46:32 +0900 (JST)


Please just mark the structure with "packed" attribute.

It is appropriate in this case, and there should be no cost
because members are 8-byte quantities.

Otherwise, mistakes are likely to be added in the future.
It is very reasonable to expect the structure size for
a networking header to match correctly.
 
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH net-2.6] [IPV6] MIP6: Ensure independence from alignm..., YOSHIFUJI Hideaki / , (Tue Apr 8, 11:46 am)
Re: [PATCH net-2.6] [IPV6] MIP6: Ensure independence from al..., David Miller, (Mon Apr 14, 1:26 am)
Re: [PATCH net-2.6] [IPV6] MIP6: Ensure independence from al..., YOSHIFUJI Hideaki / , (Mon Apr 14, 1:38 am)
Re: [PATCH net-2.6] [IPV6] MIP6: Ensure independence from al..., YOSHIFUJI Hideaki / , (Mon Apr 14, 2:22 am)
speck-geostationary