Openwrt/target/linux/orion/patches/300-skb_cb_align.patch
Travis Kemen ee14f5106f Switch Marvell Orion CPU to kernel 2.6.32 plus LED support for all LEDs on LinkSys WRT350Nv2.
Signed-off by: Matthias Buecher <mail@maddes.net> and Dirk Teurlings
<info@upexia.nl>

SVN-Revision: 20185
2010-03-14 01:41:52 +00:00

12 lines
372 B
Diff

--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -332,7 +332,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