1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-26 10:46:49 +02:00
openwrt-xburst/target/linux/orion/patches/300-skb_cb_align.patch

12 lines
372 B
Diff
Raw Normal View History

--- 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