Merge tag 'pull-work.fd-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-2.6-microblaze.git] / net / smc / af_smc.c
index a201bf2..433bb5a 100644 (file)
@@ -2161,6 +2161,7 @@ static void smc_find_rdma_v2_device_serv(struct smc_sock *new_smc,
 
 not_found:
        ini->smcr_version &= ~SMC_V2;
+       ini->smcrv2.ib_dev_v2 = NULL;
        ini->check_smcrv2 = false;
 }