> One reason is that get_src_path_mask() may access ah_lock.

I don't see that:

static u8 get_src_path_mask(struct ib_device *device, u8 port_num)
{
        struct ib_sa_device *sa_dev;
        struct ib_sa_port   *port;
        unsigned long flags;
        u8 src_path_mask;

        sa_dev = ib_get_client_data(device, &sa_client);
        if (!sa_dev)
                return 0x7f;

so if we never add the sa_client structure it just returns.

 - R.
-- 
Roland Dreier <rola...@cisco.com> || For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/index.html
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to