At the end of ib_uverbs_write():

return uverbs_cmd_table[hdr.command](file, buf + sizeof hdr,
                                             hdr.in_words * 4, hdr.out_words *
4);

Since buf is adjusted by sizeof hdr, should hdr.in_words * 4 also be adjusted by
- sizeof hdr?

This is just a question based on looking at the code, and not in response to any
seen problem.  (I doubt this would cause any real harm anywhere.)

- Sean
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to