iscsi class: Fix freeing of skb in get host error path
authorMike Christie <michaelc@cs.wisc.edu>
Sun, 3 Aug 2014 23:37:52 +0000 (18:37 -0500)
committerChristoph Hellwig <hch@lst.de>
Mon, 4 Aug 2014 11:16:14 +0000 (13:16 +0200)
commitbfb5087924921f147d4c5d731cbc8c3a069bed0b
tree7f4a22bfd803409f1002f1f9087982a20840428c
parent6f8f31c7a890283bea85c7aac45f089b5766472d
iscsi class: Fix freeing of skb in get host error path

If get_host_stats failes we are using kfree to free the
skb. We should be using kfree_skb.

This patch was made over Christoph's scsi-queue drivers-for-3.17 branch.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/scsi_transport_iscsi.c