func: static int CVE_2013_7339_VULN_rds_ib_laddr_check(__be32 addr) struct rdma_cm_id * cm_id ; struct sockaddr_in sin ; cm_id = rdma_create_id ( NULL , NULL , RDMA_PS_TCP , IB_QPT_RC ); if ( IS_ERR ( cm_id ) )  memset ( & sin , 0 , sizeof ( sin ) ); sin . sin_family = AF_INET; sin . sin_addr . s_addr = addr; ret = rdma_bind_addr ( cm_id , ( struct sockaddr * ) & sin ); if ( ret || cm_id -> device -> node_type != RDMA_NODE_IB_CA )  rdsdebug ( "addr %pI4 ret %d node type %d\n" , & addr , ret , cm_id -> device ? cm_id -> device -> node_type : - 1 ); return ret ; 