* [RESEND][PATCH] cxgb4: Use kfree_skb for skb pointers
@ 2010-07-01 9:45 Denis Kirjanov
2010-07-03 5:28 ` David Miller
0 siblings, 1 reply; 5+ messages in thread
From: Denis Kirjanov @ 2010-07-01 9:45 UTC (permalink / raw)
To: davem; +Cc: netdev
Use kfree_skb for skb pointers
Acked-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org>
---
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;
}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [RESEND][PATCH] cxgb4: Use kfree_skb for skb pointers
2010-07-01 9:45 [RESEND][PATCH] cxgb4: Use kfree_skb for skb pointers Denis Kirjanov
@ 2010-07-03 5:28 ` David Miller
2010-07-03 5:51 ` Dimitrios Michailidis
0 siblings, 1 reply; 5+ messages in thread
From: David Miller @ 2010-07-03 5:28 UTC (permalink / raw)
To: dkirjanov; +Cc: netdev
From: Denis Kirjanov <dkirjanov@hera.kernel.org>
Date: Thu, 1 Jul 2010 09:45:52 +0000
> Use kfree_skb for skb pointers
>
> Acked-by: Dimitris Michailidis <dm@chelsio.com>
> Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org>
The code is completely different in this part of the driver now, this
patch does not apply.
In fact there is no reference to the string "kfree" at all in the
l2t.c file of the cxgb4 driver :)
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [RESEND][PATCH] cxgb4: Use kfree_skb for skb pointers
2010-07-03 5:28 ` David Miller
@ 2010-07-03 5:51 ` Dimitrios Michailidis
2010-07-03 6:43 ` David Miller
0 siblings, 1 reply; 5+ messages in thread
From: Dimitrios Michailidis @ 2010-07-03 5:51 UTC (permalink / raw)
To: David Miller, dkirjanov; +Cc: netdev
> From: Denis Kirjanov <dkirjanov@hera.kernel.org>
> Date: Thu, 1 Jul 2010 09:45:52 +0000
>
> > Use kfree_skb for skb pointers
> >
> > Acked-by: Dimitris Michailidis <dm@chelsio.com>
> > Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org>
>
> The code is completely different in this part of the driver now, this
> patch does not apply.
>
> In fact there is no reference to the string "kfree" at all in the
> l2t.c file of the cxgb4 driver :)
This patch is for net-next and it should apply there, I see the wrong
kfree (there's only one kfree). Denis didn't mention net-next, maybe
you tried to apply it to net-2.6?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [RESEND][PATCH] cxgb4: Use kfree_skb for skb pointers
2010-07-03 5:51 ` Dimitrios Michailidis
@ 2010-07-03 6:43 ` David Miller
2010-07-03 6:56 ` Denis Kirjanov
0 siblings, 1 reply; 5+ messages in thread
From: David Miller @ 2010-07-03 6:43 UTC (permalink / raw)
To: dm; +Cc: dkirjanov, netdev
From: "Dimitrios Michailidis" <dm@chelsio.com>
Date: Fri, 2 Jul 2010 22:51:17 -0700
>
>> From: Denis Kirjanov <dkirjanov@hera.kernel.org>
>> Date: Thu, 1 Jul 2010 09:45:52 +0000
>>
>> > Use kfree_skb for skb pointers
>> >
>> > Acked-by: Dimitris Michailidis <dm@chelsio.com>
>> > Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org>
>>
>> The code is completely different in this part of the driver now, this
>> patch does not apply.
>>
>> In fact there is no reference to the string "kfree" at all in the
>> l2t.c file of the cxgb4 driver :)
>
> This patch is for net-next and it should apply there, I see the wrong
> kfree (there's only one kfree). Denis didn't mention net-next, maybe
> you tried to apply it to net-2.6?
Yes, I did.
That's why people should always indicate what tree a patch is for
in the subject line or similar.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [RESEND][PATCH] cxgb4: Use kfree_skb for skb pointers
2010-07-03 6:43 ` David Miller
@ 2010-07-03 6:56 ` Denis Kirjanov
0 siblings, 0 replies; 5+ messages in thread
From: Denis Kirjanov @ 2010-07-03 6:56 UTC (permalink / raw)
To: David Miller; +Cc: dm, dkirjanov, netdev
On 07/03/2010 10:43 AM, David Miller wrote:
> From: "Dimitrios Michailidis"<dm@chelsio.com>
> Date: Fri, 2 Jul 2010 22:51:17 -0700
>
>>
>>> From: Denis Kirjanov<dkirjanov@hera.kernel.org>
>>> Date: Thu, 1 Jul 2010 09:45:52 +0000
>>>
>>>> Use kfree_skb for skb pointers
>>>>
>>>> Acked-by: Dimitris Michailidis<dm@chelsio.com>
>>>> Signed-off-by: Denis Kirjanov<dkirjanov@kernel.org>
>>>
>>> The code is completely different in this part of the driver now, this
>>> patch does not apply.
>>>
>>> In fact there is no reference to the string "kfree" at all in the
>>> l2t.c file of the cxgb4 driver :)
>>
>> This patch is for net-next and it should apply there, I see the wrong
>> kfree (there's only one kfree). Denis didn't mention net-next, maybe
>> you tried to apply it to net-2.6?
>
> Yes, I did.
>
> That's why people should always indicate what tree a patch is for
> in the subject line or similar.
>
Yes, I'll be more accurate next time.
Thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-07-03 6:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-01 9:45 [RESEND][PATCH] cxgb4: Use kfree_skb for skb pointers Denis Kirjanov
2010-07-03 5:28 ` David Miller
2010-07-03 5:51 ` Dimitrios Michailidis
2010-07-03 6:43 ` David Miller
2010-07-03 6:56 ` Denis Kirjanov
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).