From: Taehee Yoo <ap420...@gmail.com> Date: Sun, 9 Jun 2019 23:26:21 +0900
> In order to create an internal vport, internal_dev_create() is used and > that calls register_netdevice() internally. > If register_netdevice() fails, it calls dev->priv_destructor() to free > private data of netdev. actually, a private data of this is a vport. > > Hence internal_dev_create() should not free and use a vport after failure > of register_netdevice(). > > Test command > ovs-dpctl add-dp bonding_masters ... > Fixes: cf124db566e6 ("net: Fix inconsistent teardown and release of private > netdev state.") > Signed-off-by: Taehee Yoo <ap420...@gmail.com> Applied, thank you.