All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] fcoe: Use kfree_skb() instead of kfree()
@ 2016-07-25  7:00 Wei Yongjun
       [not found] ` <1469430033-8422-1-git-send-email-weiyj.lk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  2016-08-05  1:29 ` Martin K. Petersen
  0 siblings, 2 replies; 3+ messages in thread
From: Wei Yongjun @ 2016-07-25  7:00 UTC (permalink / raw)
  To: Johannes Thumshirn, James E.J. Bottomley, Martin K. Petersen
  Cc: Wei Yongjun, fcoe-devel, linux-scsi

Use kfree_skb() instead of kfree() to free sk_buff.

Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
---
 drivers/scsi/fcoe/fcoe_ctlr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/fcoe/fcoe_ctlr.c b/drivers/scsi/fcoe/fcoe_ctlr.c
index a569c65..dcf3653 100644
--- a/drivers/scsi/fcoe/fcoe_ctlr.c
+++ b/drivers/scsi/fcoe/fcoe_ctlr.c
@@ -2923,7 +2923,7 @@ static int fcoe_ctlr_vlan_recv(struct fcoe_ctlr *fip, struct sk_buff *skb)
 	mutex_unlock(&fip->ctlr_mutex);
 
 drop:
-	kfree(skb);
+	kfree_skb(skb);
 	return rc;
 }
 




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH -next] fcoe: Use kfree_skb() instead of kfree()
       [not found] ` <1469430033-8422-1-git-send-email-weiyj.lk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2016-08-02  7:54   ` Johannes Thumshirn
  0 siblings, 0 replies; 3+ messages in thread
From: Johannes Thumshirn @ 2016-08-02  7:54 UTC (permalink / raw)
  To: Wei Yongjun
  Cc: fcoe-devel-s9riP+hp16TNLxjTenLetw, Johannes Thumshirn,
	James E.J. Bottomley, linux-scsi-u79uwXL29TY76Z2rM5mHXA,
	Martin K. Petersen

On Mon, Jul 25, 2016 at 07:00:33AM +0000, Wei Yongjun wrote:
> Use kfree_skb() instead of kfree() to free sk_buff.
> 
> Signed-off-by: Wei Yongjun <weiyj.lk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

Acked-by: Johannes Thumshirn <jth-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>

-- 
Johannes Thumshirn                                          Storage
jthumshirn-l3A5Bk7waGM@public.gmane.org                                +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH -next] fcoe: Use kfree_skb() instead of kfree()
  2016-07-25  7:00 [PATCH -next] fcoe: Use kfree_skb() instead of kfree() Wei Yongjun
       [not found] ` <1469430033-8422-1-git-send-email-weiyj.lk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2016-08-05  1:29 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2016-08-05  1:29 UTC (permalink / raw)
  To: Wei Yongjun
  Cc: Johannes Thumshirn, James E.J. Bottomley, Martin K. Petersen,
	fcoe-devel, linux-scsi

>>>>> "Wei" == Wei Yongjun <weiyj.lk@gmail.com> writes:

Wei> Use kfree_skb() instead of kfree() to free sk_buff.

Applied to 4.8/scsi-queue.

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-08-05  1:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-25  7:00 [PATCH -next] fcoe: Use kfree_skb() instead of kfree() Wei Yongjun
     [not found] ` <1469430033-8422-1-git-send-email-weiyj.lk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-08-02  7:54   ` Johannes Thumshirn
2016-08-05  1:29 ` Martin K. Petersen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.