diff options
author | Chad Dupuis <chad.dupuis@cavium.com> | 2018-04-25 16:08:47 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-05-08 07:57:09 +0300 |
commit | f32803bb4512c73711a996e3e8e3188abeb8445e (patch) | |
tree | 485dc182ab9966b47ef183eec1c99ba9ff82001a /drivers/scsi/qedf/qedf_fip.c | |
parent | c3ef86f3ec581b370d3fed5f5efbd52c2f489985 (diff) | |
download | linux-f32803bb4512c73711a996e3e8e3188abeb8445e.tar.xz |
scsi: qedf: Add missing skb frees in error path
Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qedf/qedf_fip.c')
-rw-r--r-- | drivers/scsi/qedf/qedf_fip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qedf/qedf_fip.c b/drivers/scsi/qedf/qedf_fip.c index 773558fc0697..aef199c12fb4 100644 --- a/drivers/scsi/qedf/qedf_fip.c +++ b/drivers/scsi/qedf/qedf_fip.c @@ -181,6 +181,7 @@ void qedf_fip_recv(struct qedf_ctx *qedf, struct sk_buff *skb) QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_DISC, "Dropping CVL since FCF has not been selected " "yet."); + kfree_skb(skb); return; } |