All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kalle Valo <kalle.valo@iki.fi>
To: Oliver Neukum <oliver@neukum.org>
Cc: "John W. Linville" <linville@tuxdriver.com>,
	Jason Andryuk <jandryuk@gmail.com>,
	gregkh@suse.de, linux-wireless@vger.kernel.org,
	milan.plzik@gmail.com
Subject: Re: at76_usb development
Date: Wed, 18 Feb 2009 20:11:06 +0200	[thread overview]
Message-ID: <87wsbnzkcl.fsf@litku.valot.fi> (raw)
In-Reply-To: <200902051008.04061.oliver@neukum.org> (Oliver Neukum's message of "Thu\, 5 Feb 2009 10\:08\:02 +0100")

Oliver Neukum <oliver@neukum.org> writes:

> Am Wednesday 04 February 2009 16:48:11 schrieb Kalle Valo:
>> Yes, please cc also me. I try to keep up-to-date what's happening with
>> at76-usb so that the same fixes will be fixed in at76c50x-usb as well.
>
> Here is what I found with at76-usb as it is in the current kernel:
>
>  static int at76_wait_completion(struct at76_priv *priv, int cmd)
>  {
>         int status = 0;
>
>         unsigned long timeout = jiffies + CMD_COMPLETION_TIMEOUT;
>
>         do {
>
> This can go wrong in a preemptible kernel. You have no guarantee the full
> timeout is granted.
>
> @@ -1631,7 +1633,7 @@ static void at76_rx_tasklet(unsigned long param)
>         buf = (struct at76_rx_buffer *)priv->rx_skb->data;
>
>         if (urb->status != 0) {
> -               if (urb->status != -ENOENT && urb->status != -ECONNRESET)
> +               if (urb->status != -ENOENT && urb->status != -ECONNRESET && urb->status != -ESHUTDOWN)
>
> Should also check for ESHUTDOWN, also in at76_mac80211_tx_callback()

Thanks. I added these comments to my todo list, and will fix them
later.
 
-- 
Kalle Valo

  reply	other threads:[~2009-02-18 18:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-04  4:05 at76_usb development Jason Andryuk
2009-02-04  8:17 ` Oliver Neukum
2009-02-04 14:43   ` John W. Linville
2009-02-04 15:48     ` Kalle Valo
2009-02-04 16:01       ` Oliver Neukum
2009-02-05  3:57       ` Jason Andryuk
2009-02-05  9:08       ` Oliver Neukum
2009-02-18 18:11         ` Kalle Valo [this message]
2009-02-04 23:53 ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wsbnzkcl.fsf@litku.valot.fi \
    --to=kalle.valo@iki.fi \
    --cc=gregkh@suse.de \
    --cc=jandryuk@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=milan.plzik@gmail.com \
    --cc=oliver@neukum.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.