From: Eric Dumazet Date: Mon, 24 Jun 2013 13:26:00 +0000 (-0700) Subject: gre: fix a possible skb leak X-Git-Tag: v3.10~13^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd8a7036c06cf15779b31a5397d4afcb12be81ea;p=pandora-kernel.git gre: fix a possible skb leak commit 68c331631143 ("v4 GRE: Add TCP segmentation offload for GRE") added a possible skb leak, because it frees only the head of segment list, in case a skb_linearize() call fails. This patch adds a kfree_skb_list() helper to fix the bug. Signed-off-by: Eric Dumazet Cc: Pravin B Shelar Cc: Daniel Borkmann Signed-off-by: David S. Miller --- Reading git-diff-tree failed