> 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 <[email protected]> || For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/index.html
_______________________________________________
ewg mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

Reply via email to