linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Alexander Stein <alexander.stein@systec-electronic.com>
Cc: linux-can@vger.kernel.org, Wolfgang Grandegger <wg@grandegger.com>
Subject: Re: [PATCH] can: Do not call dev_put if restart timer is running upon close
Date: Wed, 28 Nov 2012 16:05:55 +0100	[thread overview]
Message-ID: <50B62853.9080903@pengutronix.de> (raw)
In-Reply-To: <1354002754-5971-1-git-send-email-alexander.stein@systec-electronic.com>

[-- Attachment #1: Type: text/plain, Size: 931 bytes --]

On 11/27/2012 08:52 AM, Alexander Stein wrote:
> If the restart timer is running due to BUS-OFF and the device is
> disconnected an dev_put will decrease the usage counter to -1 thus
> blocking the interface removal, resulting in the following dmesg
> lines repeating every 10s:
> can: notifier: receive list not found for dev can0
> can: notifier: receive list not found for dev can0
> can: notifier: receive list not found for dev can0
> unregister_netdevice: waiting for can0 to become free. Usage count = -1
> 
> Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>

Looks good, I'll put stable on Cc.

Thanks,
Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]

      reply	other threads:[~2012-11-28 15:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-27  7:52 [PATCH] can: Do not call dev_put if restart timer is running upon close Alexander Stein
2012-11-28 15:05 ` Marc Kleine-Budde [this message]

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=50B62853.9080903@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=alexander.stein@systec-electronic.com \
    --cc=linux-can@vger.kernel.org \
    --cc=wg@grandegger.com \
    /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 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).