diff options
author | Ido Schimmel <idosch@mellanox.com> | 2015-08-02 19:29:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-02 17:19:17 -0700 |
commit | 1ebd47efa4e17391dfac8caa349c6a8d35f996d1 (patch) | |
tree | 990af8a88fe5b118c2550fc083451f1609e098a1 /net/netfilter/nft_dynset.c | |
parent | 7c764cec3703583247c4ab837c652975a3d41f4b (diff) |
rocker: free netdevice during netdevice removal
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>
Diffstat (limited to 'net/netfilter/nft_dynset.c')
0 files changed, 0 insertions, 0 deletions