commit | f88482743872230f5899b8344a057d6e2fd011e2 | [log] [tgz] |
---|---|---|
author | Matan Barak <matanb@mellanox.com> | Wed Nov 06 23:21:44 2013 +0100 |
committer | Roland Dreier <roland@purestorage.com> | Sun Nov 17 08:22:07 2013 -0800 |
tree | 7e37bc3c5e28ff5ecc52a2a203245ba17609cac6 | |
parent | 959f58544b7f20c92d5eb43d1232c96c15c01bfb [diff] |
IB/core: clarify overflow/underflow checks on ib_create/destroy_flow This patch fixes the following issues: 1. Unneeded checks were removed 2. Removed the fixed size out of flow_attr.size, thus simplifying the checks. 3. Remove a 32bit hole on 64bit systems with strict alignment in struct ib_kern_flow_att by adding a reserved field. Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>