summaryrefslogtreecommitdiff
path: root/net/rds
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2015-08-02 19:29:16 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-29 19:26:24 +0200
commit715bb7ae43279e24a8d4d35a9ac8288b47a75500 (patch)
tree414d78ea7f11622a32118931dc2870a28d743519 /net/rds
parent563071d6899c56701a47e945c5f39673bfcb0d38 (diff)
rocker: free netdevice during netdevice removal
[ Upstream commit 1ebd47efa4e17391dfac8caa349c6a8d35f996d1 ] 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: 4b8ac9660af ("rocker: introduce rocker switch driver") Acked-by: Scott Feldman <sfeldma@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/rds')
0 files changed, 0 insertions, 0 deletions