diff options
author | Gao Feng <gfree.wind@vip.163.com> | 2017-12-26 16:44:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-02 21:30:14 +0300 |
commit | d02fd6e7d2933ede6478a15f9e4ce8a93845824e (patch) | |
tree | 1a6557512b2fab38bf0d5ae9a6d53dbe44ae1db5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3bb23421a504f01551b7cb9dff0e41dbf16656b0 (diff) | |
download | linux-d02fd6e7d2933ede6478a15f9e4ce8a93845824e.tar.xz |
macvlan: Fix one possible double free
Because the macvlan_uninit would free the macvlan port, so there is one
double free case in macvlan_common_newlink. When the macvlan port is just
created, then register_netdevice or netdev_upper_dev_link failed and they
would invoke macvlan_uninit. Then it would reach the macvlan_port_destroy
which triggers the double free.
Signed-off-by: Gao Feng <gfree.wind@vip.163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions