From: Oliver Hartkopp <socketcan@hartkopp.net>
To: Austin Schuh <austin@peloton-tech.com>
Cc: linux-can@vger.kernel.org
Subject: Re: Stuck vcan
Date: Tue, 11 Mar 2014 22:29:04 +0100 [thread overview]
Message-ID: <531F8020.7090603@hartkopp.net> (raw)
In-Reply-To: <CANGgnMbtfaowdGjVRbQ9L8TJBKmbAaNxjApPsc=JDM7e28U8LA@mail.gmail.com>
On 11.03.2014 21:37, Austin Schuh wrote:
> # ip link show vcan0
> 17: vcan0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc noqueue state UNKNOWN
> mode DEFAULT qlen 10
> link/can
>
> Both times, I get the following.
>
> Mar 11 13:28:58 aschuh-peloton kernel: [96229.460901] Dead loop on
> virtual device vcan0, fix it urgently!
As you can see above the qdisc is 'noqueue'
Please check out the __dev_queue_xmit() function in
http://lxr.free-electrons.com/source/net/core/dev.c#L2782
which creates the 'fix urgently' message.
I assume when creating a qdisc which is not 'noqueue' the handling for skb
queueing is forced.
See:
http://rtime.felk.cvut.cz/can/socketcan-qdisc-final.pdf
Regards,
Oliver
next prev parent reply other threads:[~2014-03-11 21:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-11 0:22 Stuck vcan Austin Schuh
2014-03-11 7:05 ` Oliver Hartkopp
2014-03-11 20:37 ` Austin Schuh
2014-03-11 20:56 ` Marc Kleine-Budde
2014-03-11 21:54 ` Austin Schuh
2014-03-11 21:29 ` Oliver Hartkopp [this message]
2014-03-11 21:55 ` Austin Schuh
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=531F8020.7090603@hartkopp.net \
--to=socketcan@hartkopp.net \
--cc=austin@peloton-tech.com \
--cc=linux-can@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox