]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/rdma/ib_verbs.h
IB/core: Avoid accessing non-allocated memory when inferring port type
[karo-tx-linux.git] / include / rdma / ib_verbs.h
index b5732432bb297dbf6067ae34b16c00073cb2949d..88c32aba32f71b15370e2d4b5cc724c31feed9d3 100644 (file)
@@ -1683,6 +1683,7 @@ struct ib_qp {
        enum ib_qp_type         qp_type;
        struct ib_rwq_ind_table *rwq_ind_tbl;
        struct ib_qp_security  *qp_sec;
+       u8                      port;
 };
 
 struct ib_mr {