Eric Dumazet bd8a7036c0 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 <edumazet@google.com>
Cc: Pravin B Shelar <pshelar@nicira.com>
Cc: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-06-25 16:07:44 -07:00
..
2013-05-03 16:08:58 -04:00
2013-02-15 15:10:37 -05:00
2013-05-06 11:06:51 -04:00
2013-06-25 16:07:44 -07:00
2013-03-17 14:35:13 -04:00
2012-10-08 17:42:36 -04:00
2013-03-26 12:27:18 -04:00
2013-03-26 12:27:19 -04:00
2013-03-26 12:27:18 -04:00
2013-04-14 15:41:49 -04:00
2013-03-21 11:47:50 -04:00
2012-01-20 14:17:26 -05:00
2012-01-20 14:17:26 -05:00
2012-05-17 14:59:59 -04:00
2011-03-31 11:26:23 -03:00
2013-05-23 18:29:20 -07:00
2013-03-21 11:47:50 -04:00
2013-03-21 11:47:50 -04:00
2011-03-31 11:26:23 -03:00
2012-03-11 23:42:51 -07:00
2012-04-15 12:37:19 -04:00