[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20061129.174943.112291690.davem@davemloft.net>
Date: Wed, 29 Nov 2006 17:49:43 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: adobriyan@...il.com
Cc: pavol.gono@...il.com, netdev@...r.kernel.org
Subject: Re: pktgen
From: Alexey Dobriyan <adobriyan@...il.com>
Date: Wed, 29 Nov 2006 23:04:37 +0300
> Looks like worker thread strategically clears it if scheduled at wrong
> moment.
>
> --- a/net/core/pktgen.c
> +++ b/net/core/pktgen.c
> @@ -3292,7 +3292,6 @@ static void pktgen_thread_worker(struct
>
> init_waitqueue_head(&t->queue);
>
> - t->control &= ~(T_TERMINATE);
> t->control &= ~(T_RUN);
> t->control &= ~(T_STOP);
> t->control &= ~(T_REMDEVALL);
Good catch Alexey. Did you rerun the load/unload test with
this fix applied? If it fixes things, I'll merge it.
Thanks!
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists