[PKTGEN]: Fix kernel_thread() fail leak.
authorLuiz Capitulino <lcapitulino@mandriva.com.br>
Tue, 21 Mar 2006 06:17:00 +0000 (22:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 06:17:00 +0000 (22:17 -0800)
commit12e1872328e7055d06e539f1b687dc3d0610855c
tree8a3315b9c67da38a0cf0284100a2e3c06abca330
parentcdcdbe0b179adca0bcf98f660fcc63e208ae4284
[PKTGEN]: Fix kernel_thread() fail leak.

Free all the alocated resources if kernel_thread() call fails.

Signed-off-by: Luiz Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c