commit | 8024bb245408060bec8393469e945b541a9b0865 | [log] [tgz] |
---|---|---|
author | Luiz Capitulino <lcapitulino@mandriva.com.br> | Mon Mar 20 22:17:55 2006 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 20 22:17:55 2006 -0800 |
tree | be58db8760c3ca03fc3b71155cf0cd88849ee4be | |
parent | 12e1872328e7055d06e539f1b687dc3d0610855c [diff] |
[PKTGEN]: Fix Initialization fail leak. Even if pktgen's thread initialization fails for all CPUs, the module will be successfully loaded. This patch changes that behaivor, by returning an error on module load time, and also freeing all the resources allocated. It also prints a warning if a thread initialization has failed. Signed-off-by: Luiz Capitulino <lcapitulino@mandriva.com.br> Signed-off-by: David S. Miller <davem@davemloft.net>