On Wed, 2016-12-28 at 13:00 +0200, Max Gurtovoy wrote: > No reason to allocate it dynamically. Same comment here: struct ib_qp_attr is allocated on the stack to keep stack usage low. Bart. NrybXǧv^)޺{.n+{ٚ{ayʇڙ,jfh/oScڳ9u&jw(階ݢj"mzޖfh~m