]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9ec206bcfd9ed4c0eb2b6f18f6085e8fc033fb0a
treecc6d542669f7b036c6bf0bf76e9d4b562cb90708
parent74d6d132a07e87e9ecdb0750f01056f21226cc0b
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: 0832c690c167 ("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