diff --git a/net/core/skbuff.c b/net/core/skbuff.c index a00808f7be6a..875572a27e58 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -2283,6 +2283,7 @@ int pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, if (!data) goto nodata; size = SKB_WITH_OVERHEAD(size); + memset(data, 0, nhead); /* Copy only real data... and, alas, header. This should be * optimized for the cases when header is void.