Subject: Re: [PATCH] cxgb4: fix kfree(skb)

From: Dimitris Michailidis <[email-masked]>
Date: Tue, 22 Jun 2010 00:09:31 -0700

Denis Kirjanov wrote:
> Use kfree_skb for skb pointers
> Signed-off-by: Denis Kirjanov <[email-masked]>

Yes, thank you.

Acked-by: Dimitris Michailidis <[email-masked]>

> ---
> drivers/net/cxgb4/l2t.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/net/cxgb4/l2t.c b/drivers/net/cxgb4/l2t.c
> index 5b990d2..e8f0f55 100644
> --- a/drivers/net/cxgb4/l2t.c
> +++ b/drivers/net/cxgb4/l2t.c
> @@ -314,7 +314,7 @@ static void t4_l2e_free(struct l2t_entry *e)
>  			struct sk_buff *skb = e->arpq_head;
>  
>  			e->arpq_head = skb->next;
> -			kfree(skb);
> +			kfree_skb(skb);
>  		}
>  		e->arpq_tail = NULL;
>  	}