diff --git a/net/core/skbuff.c b/net/core/skbuff.c index edbbef563d4d..5ca5a608daec 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, size); /* * Only clear those fields we need to clear, not those that we will