Re: [PATCH 8/10] cxgb3 - Unmap offload packets when they are freed.

From: Jeff Garzik
Date: Wed Jan 31 2007 - 05:42:22 EST


Divy Le Ray wrote:
From: Divy Le Ray <divy@xxxxxxxxxxx>

Offload packets may be DMAed long after their SGE Tx descriptors are done
so they must remain mapped until they are freed rather than until their
descriptors are freed. Unmap such packets through an skb destructor.

Signed-off-by: Divy Le Ray <divy@xxxxxxxxxxx>

this is questionable and sounds like you are working around a bug. I can't think of another driver that uses skb destructors, and I could have sworn that skb destructors were not for drivers to use anyway

Jeff


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