Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8a2e65f87c66ab1e720f49378750cdd800f9e9cf
Commit:     8a2e65f87c66ab1e720f49378750cdd800f9e9cf
Parent:     c52daa29760818772ee4211be4ee8d1c78b888d5
Author:     Michael S. Tsirkin <[EMAIL PROTECTED]>
AuthorDate: Fri Feb 16 00:16:13 2007 +0200
Committer:  Roland Dreier <[EMAIL PROTECTED]>
CommitDate: Fri Feb 16 13:57:35 2007 -0800

    IPoIB: CM error handling thinko fix
    
    ipoib_cm_alloc_rx_skb() might be called from IRQ context, so it must
    use dev_kfree_skb_any(), not kfree_skb().
    
    Signed-off-by: Michael S. Tsirkin <[EMAIL PROTECTED]>
    Signed-off-by: Roland Dreier <[EMAIL PROTECTED]>
---
 drivers/infiniband/ulp/ipoib/ipoib_cm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/infiniband/ulp/ipoib/ipoib_cm.c 
b/drivers/infiniband/ulp/ipoib/ipoib_cm.c
index 8881a71..4d59682 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib_cm.c
+++ b/drivers/infiniband/ulp/ipoib/ipoib_cm.c
@@ -145,7 +145,7 @@ partial_error:
        for (; i >= 0; --i)
                ib_dma_unmap_single(priv->ca, mapping[i + 1], PAGE_SIZE, 
DMA_FROM_DEVICE);
 
-       kfree_skb(skb);
+       dev_kfree_skb_any(skb);
        return -ENOMEM;
 }
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to