From: Cong Wang Date: Sat, 29 Jun 2013 05:00:57 +0000 (+0800) Subject: vti: remove duplicated code to fix a memory leak X-Git-Tag: v3.11-rc1~64^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab6c7a0a43c2eaafa57583822b619b22637b49c7;p=pandora-kernel.git vti: remove duplicated code to fix a memory leak vti module allocates dev->tstats twice: in vti_fb_tunnel_init() and in vti_tunnel_init(), this lead to a memory leak of dev->tstats. Just remove the duplicated operations in vti_fb_tunnel_init(). (candidate for -stable) Cc: Stephen Hemminger Cc: Saurabh Mohan Cc: "David S. Miller" Signed-off-by: Cong Wang Acked-by: Stephen Hemminger Signed-off-by: David S. Miller --- Reading git-diff-tree failed