Searched hist:"8024 bb245408060bec8393469e945b541a9b0865" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/core/ |
H A D | pktgen.c | diff 8024bb245408060bec8393469e945b541a9b0865 Tue Mar 21 00:17:55 CST 2006 Luiz Capitulino <lcapitulino@mandriva.com.br> [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>
|