mirror of https://gitee.com/openkylin/linux.git
1ebd47efa4
When removing a port's netdevice in 'rocker_remove_ports', we should
also free the allocated 'net_device' structure. Do that by calling
'free_netdev' after unregistering it.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
rocker.c | ||
rocker.h |