netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dimitris Michailidis <dm@chelsio.com>
To: Denis Kirjanov <dkirjanov@hera.kernel.org>
Cc: davem@davemloft.net, netdev@vger.kernel.org
Subject: Re: [PATCH] cxgb4: fix kfree(skb)
Date: Tue, 22 Jun 2010 00:09:31 -0700	[thread overview]
Message-ID: <4C2061AB.3000400@chelsio.com> (raw)
In-Reply-To: <20100622070551.GA10062@hera.kernel.org>

Denis Kirjanov wrote:
> Use kfree_skb for skb pointers
> Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org>

Yes, thank you.

Acked-by: Dimitris Michailidis <dm@chelsio.com>

> ---
> 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;
>  	}


      reply	other threads:[~2010-06-22  7:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-22  7:05 [PATCH] cxgb4: fix kfree(skb) Denis Kirjanov
2010-06-22  7:09 ` Dimitris Michailidis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C2061AB.3000400@chelsio.com \
    --to=dm@chelsio.com \
    --cc=davem@davemloft.net \
    --cc=dkirjanov@hera.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).