]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[mirror_ubuntu-artful-kernel.git] / drivers / scsi / cxgbi / cxgb4i / cxgb4i.c
index 4655a9f9dceae8aeefd6857d80a018a4e9c23d98..9e6f647ff1c16828f48d5abed6ce248155106977 100644 (file)
@@ -1411,7 +1411,7 @@ static int init_act_open(struct cxgbi_sock *csk)
        csk->atid = cxgb4_alloc_atid(lldi->tids, csk);
        if (csk->atid < 0) {
                pr_err("%s, NO atid available.\n", ndev->name);
-               return -EINVAL;
+               goto rel_resource_without_clip;
        }
        cxgbi_sock_set_flag(csk, CTPF_HAS_ATID);
        cxgbi_sock_get(csk);