diff options
author | 2018-02-28 12:44:07 +0100 | |
---|---|---|
committer | 2018-02-28 12:30:25 -0500 | |
commit | cbba07a726fb6b52b48d24ffd27e36f7278864e0 (patch) | |
tree | 8bdf681a8a44dfcd5936d83c6d03c9eeb49b4064 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | virtio-net: disable NAPI only when enabled during XDP set (diff) | |
download | wireguard-linux-cbba07a726fb6b52b48d24ffd27e36f7278864e0.tar.xz wireguard-linux-cbba07a726fb6b52b48d24ffd27e36f7278864e0.zip |
net/smc: use a constant for control message length
The sizeof(struct smc_cdc_msg) evaluates to 48 bytes instead of the
required 44 bytes. We need to use the constant value of
SMC_WR_TX_SIZE to set and check the control message length.
Signed-off-by: Karsten Graul <kgraul@linux.vnet.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions