bonding: fix device leak on error in bond_create()
When the register_netdevice() call fails, the newly allocated device is not freed. Signed-off-by: NPatrick McHardy <kaber@trash.net> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录