Fix memory leak on error

Detected by cppcheck

Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
Also balance bnx2 NICs

bnx2 seems to use the representation eth0-0, sometimes eth0[0].

Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
irqd: write cpumap without bounds

There have been reports about irqd segfaulting on systems with
many interfaces.  And this is because the buffer to write
a line of the cpumap if limited to 4096 characters.

Fix it by rewriting the cpumap writer to directly write into
the file.

Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
Version 0.6.5

Signed-off-by: Holger Eitzenberger <holger.eitzenberger@sophos.com>