lkml.org 
[lkml]   [2004]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Lockup with 2.6.9-ac15 related to netconsole
Francois Romieu wrote:
> Marc, if the patch below happens to work, it should not drop messages
> like the previous one (it is an ugly short-term suggestion).
>

> - spin_lock(&np->dev->xmit_lock);
> + while (!spin_trylock(&np->dev->xmit_lock)) {
> + if (np->dev->xmit_lock_owner == smp_processor_id()) {
> + struct Qdisc *q = dev->qdisc;
> +
> + q->ops->enqueue(skb, q);

Shouldn't this be requeue ?

Regards
Patrick
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.074 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site