| Date: | 2010-01-29 23:15:44 (3 years 4 months ago) |
|---|---|
| Author: | nbd |
| Commit: | d09a189ccf963d312ef864acae36f5e119936a7a |
| Message: | orion: fix the alignment related ath9k crash bug (#5815) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19387 3c298f89-4303-0410-b956-a3cf2f4a3e73 |
| Files: |
target/linux/orion/patches/300-skb_cb_align.patch (1 diff) |
Change Details
| target/linux/orion/patches/300-skb_cb_align.patch | ||
|---|---|---|
| 1 | --- a/include/linux/skbuff.h | |
| 2 | @@ -335,7 +335,7 @@ struct sk_buff { | |
| 3 | * want to keep them across layers you have to do a skb_clone() | |
| 4 | * first. This is owned by whoever has the skb queued ATM. | |
| 5 | */ | |
| 6 | - char cb[48]; | |
| 7 | + char cb[48] __attribute__((aligned(8))); | |
| 8 | #if defined(CONFIG_IMQ) || defined(CONFIG_IMQ_MODULE) | |
| 9 | void *cb_next; | |
| 10 | #endif | |
