From: Matan Barak Date: Wed, 6 Nov 2013 22:21:44 +0000 (+0100) Subject: IB/core: clarify overflow/underflow checks on ib_create/destroy_flow X-Git-Tag: v3.13-rc1~44^2^3~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f88482743872230f5899b8344a057d6e2fd011e2;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed