diff options
| author | Cong Wang <[email protected]> | 2013-06-29 13:00:57 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-07-01 23:37:14 -0700 |
| commit | ab6c7a0a43c2eaafa57583822b619b22637b49c7 (patch) | |
| tree | 8ff6f88e0601340b72518c870b317dcc25ea1f23 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 6c734fb8592f6768170e48e7102cb2f0a1bb9759 (diff) | |
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 <[email protected]>
Cc: Saurabh Mohan <[email protected]>
Cc: "David S. Miller" <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Acked-by: Stephen Hemminger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions