|
@@ -189,6 +189,7 @@ struct sk_buff *__alloc_skb(unsigned int size, gfp_t gfp_mask,
|
|
* aligned memory blocks, unless SLUB/SLAB debug is enabled.
|
|
* aligned memory blocks, unless SLUB/SLAB debug is enabled.
|
|
* Both skb->head and skb_shared_info are cache line aligned.
|
|
* Both skb->head and skb_shared_info are cache line aligned.
|
|
*/
|
|
*/
|
|
|
|
+ size = SKB_DATA_ALIGN(size);
|
|
size += SKB_DATA_ALIGN(sizeof(struct skb_shared_info));
|
|
size += SKB_DATA_ALIGN(sizeof(struct skb_shared_info));
|
|
data = kmalloc_node_track_caller(size, gfp_mask, node);
|
|
data = kmalloc_node_track_caller(size, gfp_mask, node);
|
|
if (!data)
|
|
if (!data)
|