commit | 3382576106014bf865d341efab3d94fb28d1fc63 | [log] [tgz] |
---|---|---|
author | Karsten Graul <kgraul@linux.ibm.com> | Thu Apr 26 17:18:20 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 27 14:02:51 2018 -0400 |
tree | ad9626b964b47c610aba1f2b99da9af08be5a1f3 | |
parent | 51dce24bcdbdc493a87a17bcaf898b1f1d2fa600 [diff] |
net/smc: fix structure size The struct smc_cdc_msg must be defined as packed so the size is 44 bytes. And change the structure size check so sizeof is checked. Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>