aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/orion
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-01-29 22:15:44 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-01-29 22:15:44 +0000
commit6ac2489ddd6e57b82d99d2192cb1a220bd4b4ad3 (patch)
treef5cc4b57a7916ce2549cf7b87bc28f271806fb48 /target/linux/orion
parentd711afb3bec660b03732b844c18c3617886abda4 (diff)
downloadupstream-6ac2489ddd6e57b82d99d2192cb1a220bd4b4ad3.tar.gz
upstream-6ac2489ddd6e57b82d99d2192cb1a220bd4b4ad3.tar.bz2
upstream-6ac2489ddd6e57b82d99d2192cb1a220bd4b4ad3.zip
orion: fix the alignment related ath9k crash bug (#5815)
SVN-Revision: 19387
Diffstat (limited to 'target/linux/orion')
-rw-r--r--target/linux/orion/patches/300-skb_cb_align.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/orion/patches/300-skb_cb_align.patch b/target/linux/orion/patches/300-skb_cb_align.patch
new file mode 100644
index 0000000000..89563c244f
--- /dev/null
+++ b/target/linux/orion/patches/300-skb_cb_align.patch
@@ -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