diff --git a/net/core/skbuff.c b/net/core/skbuff.c index edbbef563d4d..c8662be35000 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -656,6 +656,7 @@ struct sk_buff *__alloc_skb(unsigned int size, gfp_t gfp_mask, * to allow max possible filling before reallocation. */ prefetchw(data + SKB_WITH_OVERHEAD(size)); + memset(data, 0, sizeof(*data)); /* * Only clear those fields we need to clear, not those that we will