orion: fix the alignment related ath9k crash bug (#5815)
[openwrt/openwrt.git] / target / linux / orion / patches / 300-skb_cb_align.patch
1 --- a/include/linux/skbuff.h
2 +++ b/include/linux/skbuff.h
3 @@ -335,7 +335,7 @@ struct sk_buff {
4 * want to keep them across layers you have to do a skb_clone()
5 * first. This is owned by whoever has the skb queued ATM.
6 */
7 - char cb[48];
8 + char cb[48] __attribute__((aligned(8)));
9 #if defined(CONFIG_IMQ) || defined(CONFIG_IMQ_MODULE)
10 void *cb_next;
11 #endif