diff options
author | Cong Wang <amwang@redhat.com> | 2013-06-29 13:00:57 +0800 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-09-11 00:16:57 -0400 |
commit | 1359f33851ec3562a56d20fea047edc941d003c8 (patch) | |
tree | ced94dc11c3b8ecd0b2779ab5bc0d6dc55949912 /net/atm/svc.c | |
parent | b1228fd51f2e4f76af3f7290743df3f8ffce02db (diff) |
vti: remove duplicated code to fix a memory leak
[ Upstream commit ab6c7a0a43c2eaafa57583822b619b22637b49c7 ]
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 <stephen@networkplumber.org>
Cc: Saurabh Mohan <saurabh.mohan@vyatta.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'net/atm/svc.c')
0 files changed, 0 insertions, 0 deletions