diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-01-29 22:15:44 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-01-29 22:15:44 +0000 |
commit | d09a189ccf963d312ef864acae36f5e119936a7a (patch) | |
tree | 165ec981749659c767ec52e55f2f610db67df891 /target/linux/orion/patches | |
parent | 7af86956a9634ee676f3941c999b5e02014b178b (diff) |
orion: fix the alignment related ath9k crash bug (#5815)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19387 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/orion/patches')
-rw-r--r-- | target/linux/orion/patches/300-skb_cb_align.patch | 11 |
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 000000000..89563c244 --- /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 |