aFrom: gfree.w...@vip.163.com Date: Tue, 26 Dec 2017 21:44:32 +0800 > From: Gao Feng <gfree.w...@vip.163.com> > > 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.w...@vip.163.com>
Applied.