From: Li RongQing Date: Wed, 18 Jun 2014 05:46:02 +0000 (+0800) Subject: 8021q: fix a potential memory leak X-Git-Tag: v3.2.64~275 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96f641a7191379fef452609959ce0dc5009d021b;p=pandora-kernel.git 8021q: fix a potential memory leak [ Upstream commit 916c1689a09bc1ca81f2d7a34876f8d35aadd11b ] skb_cow called in vlan_reorder_header does not free the skb when it failed, and vlan_reorder_header returns NULL to reset original skb when it is called in vlan_untag, lead to a memory leak. Signed-off-by: Li RongQing Acked-by: Eric Dumazet Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed