orion: fix the alignment related ath9k crash bug (#5815)

SVN-Revision: 19387
owl
Felix Fietkau 2010-01-29 22:15:44 +00:00
parent d711afb3be
commit 6ac2489ddd
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -335,7 +335,7 @@ struct sk_buff {
* want to keep them across layers you have to do a skb_clone()
* first. This is owned by whoever has the skb queued ATM.
*/
- char cb[48];
+ char cb[48] __attribute__((aligned(8)));
#if defined(CONFIG_IMQ) || defined(CONFIG_IMQ_MODULE)
void *cb_next;
#endif