Re: [PATCH 2.6.27.2] datagram handling routines :mapping/unmapping paged data in soft IRQ

From: David Miller
Date: Mon May 11 2009 - 19:37:22 EST


From: "Luc Goria" <Luc.Goria@xxxxxxxxxxxxxxxx>
Date: Mon, 11 May 2009 15:32:21 +0200

>
> Kernel crashes when a network module tries to copy a datagram to iovec in soft IRQ with paged data.
> The problem is that kunmap function can't be called in IRQ.
> All calls to kmap/kunmap fonctions are replaced by calls to kmap_skb_frag/kunmap_skb_frag when paged data are involved.
>
> <<datagram.c.patch>>
> Signed-off-by: Luc GORIA <luc.goria@xxxxxxxxxxxxxxxx>

What network module does this? You're not supposed to.

--
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/