summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_tbf.c
diff options
context:
space:
mode:
authorJay Vosburgh <fubar@us.ibm.com>2008-10-30 17:41:15 -0700
committerJeff Garzik <jgarzik@redhat.com>2008-10-31 00:46:04 -0400
commita434e43f3d844192bc23bd7b408bac979c40efe7 (patch)
treec14f191bafc78a1194815e0e9df5223dd52e8d99 /net/sched/sch_tbf.c
parentfba4acda35f3119328bcba28aacefae14245d2bb (diff)
bonding: Clean up resource leaks
This patch reworks the resource free logic performed at the time a bonding device is released. This (a) closes two resource leaks, one for workqueues and one for multicast lists, and (b) improves commonality of code between the "destroy one" and "destroy all" paths by performing final free activity via destructor instead of explicitly (and differently) in each path. "Sean E. Millichamp" <sean@bruenor.org> reported the workqueue leak, and included a different patch. Signed-off-by: Jay Vosburgh <fubar@us.ibm.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'net/sched/sch_tbf.c')
0 files changed, 0 insertions, 0 deletions