Re: [patch] ipv4: fix lock usage in udp_ioctl

From: Ingo Molnar
Date: Thu Jun 15 2006 - 01:28:17 EST



* Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:

> This is bogus. These two locks belong to two different queues and
> they never intersect.

yeah - qeth does its own skb-queue management here, and it's done in an
irq-safe manner.

Heiko, in qeth_main.c, could you do something like:

+ static struct lockdep_type_key qdio_out_skb_queue_key;

...
skb_queue_head_init(&card->qdio.out_qs[i]->bufs[j].
skb_list);
+ lockdep_reinit_key(&card->qdio.out_qs[i]->bufs[j].skb_list,
&qdio_out_skb_queue_key)

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