diff options
author | Luiz Capitulino <lcapitulino@mandriva.com.br> | 2006-03-20 22:17:55 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-20 22:17:55 -0800 |
commit | 8024bb245408060bec8393469e945b541a9b0865 (patch) | |
tree | be58db8760c3ca03fc3b71155cf0cd88849ee4be /net/wanrouter | |
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>
Diffstat (limited to 'net/wanrouter')
0 files changed, 0 insertions, 0 deletions