netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: cxgb3 - fix race in EEH
@ 2008-10-08 22:58 David Miller
  2008-10-08 23:10 ` Divy Le Ray
  0 siblings, 1 reply; 3+ messages in thread
From: David Miller @ 2008-10-08 22:58 UTC (permalink / raw)
  To: divy; +Cc: akpm, netdev


I've applied this patch to net-next-2.6, BUT...

You should show some signs of life and address the things
Andrew Morton asked you about when you posted this patch.

His questions and comments are included for your reference:

----------------------------------------
It's deeply weird that t3_reset_qset() does

	memset(&q->tx_reclaim_timer, 0, sizeof(q->tx_reclaim_timer));

There are lots of things in the timer_list which the driver has no
business modifying.  For example, this might break the metadata in
Thomas's debugobjects stuff, which attempts to catch things being done
in the wrong order (I don't think it will, but still...).

Rerunning init_timer() should repair the damage, but I suspect a simple

	q->tx_reclaim_timer.function = NULL;	/* explanation goes here */

would suffice here.


t3_sge_alloc_qset() could use the newer setup_timer().
----------------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cxgb3 - fix race in EEH
  2008-10-08 22:58 cxgb3 - fix race in EEH David Miller
@ 2008-10-08 23:10 ` Divy Le Ray
  2008-10-08 23:13   ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Divy Le Ray @ 2008-10-08 23:10 UTC (permalink / raw)
  To: David Miller; +Cc: akpm, netdev

David Miller wrote:
> I've applied this patch to net-next-2.6, BUT...
>
> You should show some signs of life and address the things
> Andrew Morton asked you about when you posted this patch.
>
> His questions and comments are included for your reference:
>
> ----------------------------------------
> It's deeply weird that t3_reset_qset() does
>
> 	memset(&q->tx_reclaim_timer, 0, sizeof(q->tx_reclaim_timer));
>
> There are lots of things in the timer_list which the driver has no
> business modifying.  For example, this might break the metadata in
> Thomas's debugobjects stuff, which attempts to catch things being done
> in the wrong order (I don't think it will, but still...).
>
> Rerunning init_timer() should repair the damage, but I suspect a simple
>
> 	q->tx_reclaim_timer.function = NULL;	/* explanation goes here */
>
> would suffice here.
>
>
> t3_sge_alloc_qset() could use the newer setup_timer().
> ----------------------------------------
>   

Hi Dave,

I've got a series of patches almost ready to go against net-next-2.6 - 
hopefully within the next hour, and it includes a fix for this.
I was hoping to push the patches earlier this week, thus replying to 
Andrew's concerns. It's obviously taking longer than expected to get 
these patches out. I should have answered Andrew nonetheless.
The patch series will integrate Andrew'suggestions.

Cheers,
Divy


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cxgb3 - fix race in EEH
  2008-10-08 23:10 ` Divy Le Ray
@ 2008-10-08 23:13   ` David Miller
  0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2008-10-08 23:13 UTC (permalink / raw)
  To: divy; +Cc: akpm, netdev

From: Divy Le Ray <divy@chelsio.com>
Date: Wed, 08 Oct 2008 16:10:53 -0700

> I've got a series of patches almost ready to go against net-next-2.6
> - hopefully within the next hour, and it includes a fix for this.  I
> was hoping to push the patches earlier this week, thus replying to
> Andrew's concerns. It's obviously taking longer than expected to get
> these patches out. I should have answered Andrew nonetheless.  The
> patch series will integrate Andrew'suggestions.

Thank you.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-10-08 23:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-08 22:58 cxgb3 - fix race in EEH David Miller
2008-10-08 23:10 ` Divy Le Ray
2008-10-08 23:13   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).