projects
/
cascardo
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8e18ac
)
fcoe: Use kfree_skb() instead of kfree()
author
Wei Yongjun
<weiyj.lk@gmail.com>
Mon, 25 Jul 2016 07:00:33 +0000
(07:00 +0000)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Fri, 5 Aug 2016 01:29:02 +0000
(21:29 -0400)
Use kfree_skb() instead of kfree() to free sk_buff.
Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/fcoe/fcoe_ctlr.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/fcoe/fcoe_ctlr.c
b/drivers/scsi/fcoe/fcoe_ctlr.c
index
a569c65
..
dcf3653
100644
(file)
--- 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;
}