openwrt_archive/target/linux/orion/patches-2.6.32/300-skb_cb_align.patch
Nicolas Thill 910089a6c9 [backfire] target: standardize config file & patches dir names (2.6)
* rename "config-default" file to "config-X.Y.Z"
 * rename "patches" dir to "patches-X.Y.Z"



SVN-Revision: 29321
2011-11-23 23:20:21 +00:00

12 lines
372 B
Diff

--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -332,7 +332,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