summaryrefslogtreecommitdiffstats
path: root/net/smc/smc_wr.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2018-06-06 14:59:14 +0100
committerDavid S. Miller <davem@davemloft.net>2018-06-06 14:04:08 -0400
commitfb1967a69f756073362b8f19347f863f227320ad (patch)
tree14decc8b1e6e813030898e3b4259133e9928482b /net/smc/smc_wr.c
parent96a3c9a4896d752f2ad06c3b7f6b303cd5b93df0 (diff)
downloadtalos-op-linux-fb1967a69f756073362b8f19347f863f227320ad.tar.gz
talos-op-linux-fb1967a69f756073362b8f19347f863f227320ad.zip
rxrpc: Fix terminal retransmission connection ID to include the channel
When retransmitting the final ACK or ABORT packet for a call, the cid field in the packet header is set to the connection's cid, but this is incorrect as it also needs to include the channel number on that connection that the call was made on. Fix this by OR'ing in the channel number. Note that this fixes the bug that: commit 1a025028d400b23477341aa7ec2ce55f8b39b554 rxrpc: Fix handling of call quietly cancelled out on server works around. I'm not intending to revert that as it will help protect against problems that might occur on the server. Fixes: 3136ef49a14c ("rxrpc: Delay terminal ACK transmission on a client call") Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_wr.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud