From: gfree.w...@vip.163.com Date: Fri, 16 Jun 2017 15:00:02 +0800 > From: Gao Feng <gfree.w...@vip.163.com> > > The register_vlan_device would invoke free_netdev directly, when > register_vlan_dev failed. It would trigger the BUG_ON in free_netdev > if the dev was already registered. In this case, the netdev would be > freed in netdev_run_todo later. > > So add one condition check now. Only when dev is not registered, then > free it directly. > > The following is the part coredump when netdev_upper_dev_link failed > in register_vlan_dev. I removed the lines which are too long. ... > Signed-off-by: Gao Feng <gfree.w...@vip.163.com>
Ok, I guess this is how we will have to fix this. Applied, thanks.