summaryrefslogtreecommitdiffstats
path: root/target/linux/orion/patches/300-skb_cb_align.patch
blob: 89563c244fc374f5101ee706ea19fc2da85ea11e (plain)
1
2
3
4
5
6
7
8
9
10
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