diff options
author | Wei Yongjun <weiyj.lk@gmail.com> | 2016-07-25 09:00:33 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-08-05 03:29:02 +0200 |
commit | ea0a95d7f162bfa1c9df74471f0064f71cdf80ea (patch) | |
tree | 813e6777ab6af2a6dd0f5b5058a4c06f694397f2 | |
parent | ipr: Fix error return code in ipr_probe_ioa() (diff) | |
download | linux-ea0a95d7f162bfa1c9df74471f0064f71cdf80ea.tar.xz linux-ea0a95d7f162bfa1c9df74471f0064f71cdf80ea.zip |
fcoe: Use kfree_skb() instead of kfree()
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>
-rw-r--r-- | drivers/scsi/fcoe/fcoe_ctlr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/fcoe/fcoe_ctlr.c b/drivers/scsi/fcoe/fcoe_ctlr.c index a569c65f22b1..dcf36537a767 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; } |