summaryrefslogtreecommitdiff
path: root/net/sched/sch_fq_codel.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2015-08-02 19:29:16 +0200
committerDavid S. Miller <davem@davemloft.net>2015-08-02 17:19:17 -0700
commit1ebd47efa4e17391dfac8caa349c6a8d35f996d1 (patch)
tree990af8a88fe5b118c2550fc083451f1609e098a1 /net/sched/sch_fq_codel.c
parent7c764cec3703583247c4ab837c652975a3d41f4b (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/sched/sch_fq_codel.c')
0 files changed, 0 insertions, 0 deletions