diff --git a/.gitignore b/.gitignore index b2fc328..20fd0da 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ irqbalance-0.56.tbz2 /irqbalance-1.0.7.tar.bz2 /v1.0.7.tar.gz /v1.0.8.tar.gz +/v1.0.9.tar.gz diff --git a/irqbalance-1.0.7-nopcidevs_memleak.patch b/irqbalance-1.0.7-nopcidevs_memleak.patch deleted file mode 100644 index 4873e05..0000000 --- a/irqbalance-1.0.7-nopcidevs_memleak.patch +++ /dev/null @@ -1,35 +0,0 @@ -commit 699deffdd881bf4759f3fcc4d6ee3e018e4c266e -Author: Tom Li -Date: Fri Apr 18 20:06:18 2014 -0400 - - fix memory leak in classify code - - If a system has no pci devices the opening of the pci bus directory in - rebuild_irq_db will fail, leading to a memory leak. Fix it by freeing the list - we create in that function always on exit - - Reported-by: Tom Li - Signed-off-by: Neil Horman - Signed-off-by: Tom Li - -diff --git a/classify.c b/classify.c -index 1867a94..94b53b8 100644 ---- a/classify.c -+++ b/classify.c -@@ -465,7 +465,7 @@ void rebuild_irq_db(void) - - devdir = opendir(SYSDEV_DIR); - if (!devdir) -- return; -+ goto free; - - do { - entry = readdir(devdir); -@@ -482,6 +482,7 @@ void rebuild_irq_db(void) - - for_each_irq(tmp_irqs, add_missing_irq, NULL); - -+free: - g_list_free_full(tmp_irqs, free); - - } diff --git a/irqbalance.spec b/irqbalance.spec index 0361d65..c7e2de5 100644 --- a/irqbalance.spec +++ b/irqbalance.spec @@ -1,5 +1,5 @@ Name: irqbalance -Version: 1.0.8 +Version: 1.0.9 Release: 1%{?dist} Epoch: 2 Summary: IRQ balancing daemon @@ -68,6 +68,9 @@ fi /sbin/chkconfig --del irqbalance >/dev/null 2>&1 || : %changelog +* Wed Mar 18 2015 Petr Holasek - 2:1.0.9-1 +- Rebased to v1.0.9 + * Mon Jan 05 2015 Petr Holasek - 2:1.0.8-1 - Rebased to v1.0.8 (bz1176898) diff --git a/sources b/sources index 55ac0a3..3658578 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0b3be8e5a15e9405c36d2969411ce192 v1.0.8.tar.gz +30174d3941c5452a1e4ecee394a76ff8 v1.0.9.tar.gz