net/smc: fix byte_order for rx_curs_confirmed
authorUrsula Braun <ubraun@linux.ibm.com>
Thu, 7 Feb 2019 13:52:54 +0000 (14:52 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Feb 2019 06:33:25 +0000 (22:33 -0800)
commitccc8ca9b90acb45a3309f922b2591b07b4e070ec
treecc6d542669f7b036c6bf0bf76e9d4b562cb90708
parent225d9464268599a5b4d094d02ec17808e44c7553
net/smc: fix byte_order for rx_curs_confirmed

The recent change in the rx_curs_confirmed assignment disregards
byte order, which causes problems on little endian architectures.
This patch fixes it.

Fixes: b8649efad879 ("net/smc: fix sender_free computation") (net-tree)
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_cdc.c
net/smc/smc_cdc.h