Subject: Re: [PATCH net-next 2/2] cpmac: prevent fatal exception in cpmac_end_xmit

From: Florian Fainelli <[email-masked]>
Date: Mon, 1 Jun 2009 18:36:55 +0200

Hi David,

Le Monday 01 June 2009 11:58:18 David Miller, vous avez écrit :
> From: Florian Fainelli <[email-masked]>
> Date: Sun, 31 May 2009 22:59:15 +0200
>
> > From: Stefan Weil <[email-masked]>
> >
> > We should not be stopping the subqueues in cpmac_end_xmit
> > but rather test the status of them. Replace the calls to
> > netif_subqueue_stop by __netif_subqueue_stopped. This
> > fixes an unrecoverable exception from happening when
> > running the driver.
> >
> > Signed-off-by: Stefan Weil <[email-masked]>
> > Signed-off-by: Florian Fainelli <[email-masked]>
>
> Applied, but this commit message was completely wrong and
> therefore misleading to anyone trying to track down why this
> change was made.
>
> The problem is that netif_subqueue_stopped() takes a SKB
> pointer, whereas we're passing in an integer queue index
> here.
>
> Therefore, merely providing the obvious compile warning that
> was produced by this incorrect argument type would have
> explained everything, and accurately.

You are right I should have given you the right description. Thanks for 
applying it anyway.
-- 
Best regards, Florian Fainelli
Email : [email-masked]
http://openwrt.org
-------------------------------